Bruce Korb wrote on 2007-08-06:
> Well, I knew ahead of writing the script that unless the shopt
> expand_aliases were turned on that they would not work. I had
> stumbled into this before. I experimented with aliasing "exit"
> because it would have a dramatic effect on the execution flow. :)
> S
Bruno Haible wrote:
> Bruce Korb wrote:
>> Aliases are turned off.
>> Below is an experiment. Invoke with and without an argument. The results
>> look like this:
>
> Your experiment uses the 'exit' command to test whether aliases are supported.
> However, 'exit' is a shell built-in. Whereas 'sed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 8/6/2007 2:10 AM:
> Your experiment uses the 'exit' command to test whether aliases are supported.
> However, 'exit' is a shell built-in. Whereas 'sed' is not and will likely
> never be a shell built-in. Can you retry your
Bruce Korb wrote:
> Aliases are turned off.
> Below is an experiment. Invoke with and without an argument. The results
> look like this:
Your experiment uses the 'exit' command to test whether aliases are supported.
However, 'exit' is a shell built-in. Whereas 'sed' is not and will likely
never
gnulib-tool has this entry:
# When using GNU sed, turn off as many GNU extensions as possible,
# to minimize the risk of accidentally using non-portable features.
# However, do this only for gnulib-tool itself, not for the code that
# gnulib-tool generates, since we don't want "sed --posix" to lea