[Top][All Lists]

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

Re: Espace characters need -e, wrong behaviour

From: Paul Jarc
Subject: Re: Espace characters need -e, wrong behaviour
Date: Mon, 21 Aug 2006 11:30:00 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Nico Schottelius <address@hidden> wrote:
>    Please remove the need for -e and ignore -e for a some time, until
>    it vanished from user programs.

There is too much variation among implementations of "echo" to ever
hope for uniformity.  Different implementations all react differently
to options and backslash sequences.  To get portable behavior, use
printf.  (Or, if you want to be portable to older platforms that lack
printf, use cat with a here document.)


reply via email to

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