for i in $(ls *.asc *.uni); do grep -if ioc.txt $i > $i.hits; done
1
Replying to @davehull
@davehull Um, how about: for i in *.asc *.uni; do ... [saves spawning ls process]

Jul 29, 2010 ยท 4:29 AM UTC