On 05/08/2012 10:02 AM, Jim Meyering wrote: > diff --git a/tests/init.sh b/tests/init.sh > index ae86714..d5cd294 100644 > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -207,6 +207,9 @@ else > fi > fi > > +# If this is bash, turn off all aliases. > +test -n "$BASH_VERSION" && unalias -a > + > test -n "$EXEEXT" && shopt -s expand_aliases
Looks good. I was surprised to see that aliases are significant (due to the expand_aliases above). Why are aliases needed rather than using shell functions for example? cheers, Pádraig.
