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 Eggert
Subject: Re: A bug in Bourne - horrors!!
Date: Sun, 08 May 2005 08:27:22 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Jim Easton <address@hidden> writes:

> LIST=`echo "$DATA" | sed '/\\$/s/^/AA/'               # No substitution

Bash is operating correctly here, since backslashes are treated
specially inside `...`; see
<http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_06_03>.

I tend to agree with you that it's a misfeature, but it's been there
for decades and nobody is likely to want to change it now.  Use $(...)
instead.




reply via email to

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