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: Jim Meyering
Subject: bug#11256: make check problems with coreutils 8.16 and earlier
Date: Thu, 19 Apr 2012 11:13:47 +0200

Andreas Schwab wrote:

> Jim Meyering <address@hidden> writes:
>
>> Oddly, with GNU bash, version 4.2.24(1)-release (x86_64-redhat-linux-gnu)
>> "export -fn date" does not "unexport" the date function.
>
> Are you sure?
>
> $ date () { :; }; export -f date; bash -c 'type date'; export -fn
> date; bash -c 'type date'
> date is a function
> date ()
> {
>     :
> }
> date is /bin/date

You're right: export -fn does do what it says.
Now the question is whether to make every shell-based test attempt to do
that.





reply via email to

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