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

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

Re: A bug in Bourne - horrors!!


From: Paul Jarc
Subject: Re: A bug in Bourne - horrors!!
Date: Mon, 09 May 2005 16:40:14 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Jim Easton <address@hidden> wrote:
> DATA='test line one\\
>       a continuation line'
> echo "$DATA"          # the variable DATA has only one "\" in it.

Try 'printf %s\\n "$DATA"', and you'll see two backslashes.  echo is
doing one level of backslash-processing here (as permitted by
POSIX/SUS).


paul




reply via email to

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