[ale] editing variables in bash (or shell)

Geoffrey esoteric at 3times25.net
Thu Mar 10 20:12:02 EST 2005


Greg Freemyer wrote:
> Too late, my script is running.
> 
> Also, your script assumes the output of find wont overflow a list.
> 
> I assume that is a problem?
> 
> I did:
> 
> find .... > /tmp/files
> cat /tmp/files | while read orig_path
> do
> ...
> done
> 
> Isn't that safer than your approach?

No, and it uses more processes.  No overflow issue there. I've used just 
that type of script from /.

You could save yourself some processing by modifying your solution as:

find ....| while read orig_path
do
...
done


But feel free to use the substandard solution you've chosen. :)

-- 
Until later, Geoffrey



More information about the Ale mailing list