bug-coreutils
[Top][All Lists]
Advanced

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

bug#11256: make check problems with coreutils 8.16 and earlier


From: Pádraig Brady
Subject: bug#11256: make check problems with coreutils 8.16 and earlier
Date: Tue, 08 May 2012 10:20:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

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.





reply via email to

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