bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for echo


From: Jim Meyering
Subject: Re: patch for echo
Date: Mon, 05 Apr 2004 13:04:14 +0200

Arne Becker <address@hidden> wrote:
> Since it is impossible to output just "-en" with the current echo,
> here's a patch for that.
...

Thanks for the patch, but do we really need that?
How about this?

  $ /bin/echo -e '\055en'
  -en

These days, it's better to use printf rather than echo,
unless you care about portability to the few last-gasp systems
that lack that program/shell-built-in.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]