On 3/21/17 4:27 PM, Peter & Kelly Passchier wrote:
> On 22/03/2560 01:32, Martijn Dekker wrote:
>> A workaround for the original poster's problem could be:
>>
>>      (unset -f jobs; unalias jobs; eval 'jobs -l') | wc
> 
> 'unset -f jobs' is not guaranteed to unset jobs, it might set jobs to a
> function definition in an earlier scope..!

There are no local functions.  All functions exist at the global scope.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to