Limits of grep?
    Seth Gordon 
    sgordon at kenan.com
       
    Tue Sep 26 10:08:31 EDT 2000
    
    
  
The most general way to handle this problem is by using xargs.  The
command "ls *.c | xargs grep aardvark" is equivalent to "grep aardvark
*.c", except that if there are too many .c files to fit in the shell's
buffer for a single command, the xargs command will run grep several
times until all the .c files have been grepped.
--
"The big dig might come in handy ... for a few project managers
 whom I think would make great landfill."  --Elaine Ashton
== seth gordon == sgordon at kenan.com == standard disclaimer ==
== documentation group, kenan systems corp., cambridge, ma ==
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
    
    
More information about the Discuss
mailing list