"BS" == Benoit Sigoure tsuna@lrde.epita.fr writes:
URL: https://svn.lrde.epita.fr/svn/lrde-tools/trunk ChangeLog: 2008-01-13 Benoit Sigoure tsuna@lrde.epita.fr
Fix shell syntax. It triggers a syntax error on GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu).
- src/install-pysyck: `!' is not portable.
No way!!! You must be kidding??? We can't use "!"? Quick tests seem to show it is perfectly supported.
On 2008-01-23, Akim Demaille Akim.Demaille@lrde.epita.fr wrote:
"BS" == Benoit Sigoure tsuna@lrde.epita.fr writes:
URL: https://svn.lrde.epita.fr/svn/lrde-tools/trunk ChangeLog: 2008-01-13 Benoit Sigoure tsuna@lrde.epita.fr
Fix shell syntax. It triggers a syntax error on GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu).
- src/install-pysyck: `!' is not portable.
No way!!! You must be kidding??? We can't use "!"? Quick tests seem to show it is perfectly supported.
I'm not kidding, this is very serious.
Tsuna sigoure@taiohae.lrde.epita.fr writes:
On 2008-01-23, Akim Demaille Akim.Demaille@lrde.epita.fr wrote:
"BS" == Benoit Sigoure tsuna@lrde.epita.fr writes:
URL: https://svn.lrde.epita.fr/svn/lrde-tools/trunk ChangeLog: 2008-01-13 Benoit Sigoure tsuna@lrde.epita.fr
Fix shell syntax. It triggers a syntax error on GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu).
- src/install-pysyck: `!' is not portable.
No way!!! You must be kidding??? We can't use "!"? Quick tests seem to show it is perfectly supported.
I'm not kidding, this is very serious.
Current GNU Bash is 3.2. Are you sure the non-portable behavior of `!' is not a bug from the 3.1.17 release/distribution?
BTW, note that
/bin/sh -c "!eval true"
and
/bin/sh -c "! eval true"
(with /bin/sh being 3.1.17(1)-release (i486-pc-linux-gnu), too)
have different behaviors. :)
"Roland" == Roland Levillain roland@lrde.epita.fr writes:
[...]
Roland> BTW, note that Roland> /bin/sh -c "!eval true" Roland> and Roland> /bin/sh -c "! eval true" Roland> have different behaviors. :)
Y a intérêt : `!', `{' et `}' sont des mots clefs, pas des caractères spéciaux. La commande "!eval" n'existe pas.