Zach wrote: > Hi, > > I have a dir with about 3GB worth of text files (over 900 files) and > want to run the command "foo" on each one, it does some advanced > grepping basically. Anyone know how to do this? I was trying "for i > in..." but can't seem to get the syntax right. > > for i in `ls -a`; do foo $i; done -- Duncan Hutty