* On 2007.05.23, in <[EMAIL PROTECTED]>,
*       "Cameron Simpson" <[EMAIL PROTECTED]> wrote: 
> 
>   printf "%s\n" "$PATH" | tr : '\012' | while read -r dir; do
> 
> Unless that breaks on Solaris, which it may:-(

I don't think -r is present in a strict Bourne shell's "read".
Solaris's gives "-r: is not an identifier", but I don't expect that it's
limited to Solaris.

-- 
 -D.    [EMAIL PROTECTED], NSIT    University of Chicago

Reply via email to