On Fri, 24 Sep 2004 04:16, Giorgos Keramidas wrote: > find . -type f | \ > while read line ;do > # Do something with $line > done > > This and xargs -0 for the cases where filenames can contain whitespace > works like a charm anywhere, anytime... It's only a pitty that you can have newlines in filenames :) (Rare though) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC