* On 2007.05.23, in <20070523233131.GA22736@xxxxxxxxxxxxxxx>, * "Cameron Simpson" <cs@xxxxxxxxxx> 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. dgc@xxxxxxxxxxxx, NSIT University of Chicago