[wplug] Interesting shell problem (possibly OT?)

Christopher DeMarco demarco at maya.com
Mon Jan 10 22:23:42 EST 2011


On 06 Jan 2011, at 12:09 PM, Nathan Embery wrote:

> a script that passes a huge list of files to grep for processing
> then deletes them if necessary. Pretty basic stuff.

rm -vf $(grep -lr "Major Fault: AIS") | wc -l

Or was the question less about brevity and more about YTF it happened?


-- 
Christopher DeMarco <demarco at maya.com>
IT Director
MAYA Group
+1-412-708-9660





More information about the wplug mailing list