Re: I wish hash -r (or something like it) would happen automaticly

2006-01-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Britton Leo Kerin on 1/6/2006 12:10 PM: > I sometimes forget to run hash -r after sticking something new in my > path, and get confused. One thing I've always been hazy on is whether > there is a way in unix to connect to a 'dir-contents-

Re: Conditional expression problem: both "-a file" and "! -a file" return true

2006-01-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 1/6/2006 3:02 PM: > > [EMAIL PROTECTED]:~$ touch testFile > [EMAIL PROTECTED]:~$ [ -a testFile ] && echo true || echo false > true POSIX requires (http://www.opengroup.org/onlinepubs/009695399/utilities/test.html) t

Re: bash-3.1.1: source does not work in conjunction with process substitution

2006-01-07 Thread Chet Ramey
Dmitry V. Levin wrote: > Hi, > > The "source" builtin does not work in conjunction with process > substitution: Correct. The bash source builtin only works with regular files. This is a limitation that will someday be lifted. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chauce

Re: bash-3.1.1: unable to feed "trap -p" output into a pipe

2006-01-07 Thread Chet Ramey
Dmitry V. Levin wrote: > Hi, > > A "trap -p" output doesn't feed into a pipe: > $ trap -p > > $ trap "echo ..." EXIT > > $ trap -