Re: [patch]: small shell script fix.

2003-01-06 Thread Angus Leeming
On Monday 06 January 2003 4:17 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | I've just found out that my the value returned by 'which' doesn't reflect > | whether it found a file or not. My shell scripts that use this test are, > | therefore, flawed. Instead, I shou

Re: [patch]: small shell script fix.

2003-01-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I've just found out that my the value returned by 'which' doesn't reflect | whether it found a file or not. My shell scripts that use this test are, | therefore, flawed. Instead, I should be using 'type' | | Patch attached. Ok? Ok with me. What shell

[patch]: small shell script fix.

2003-01-06 Thread Angus Leeming
I've just found out that my the value returned by 'which' doesn't reflect whether it found a file or not. My shell scripts that use this test are, therefore, flawed. Instead, I should be using 'type' Patch attached. Ok? I've also found out that I can pass variables to a shell function, but that