On Tue, Sep 26, 2000 at 06:38:31AM +0000, Subba Rao wrote:
>Hi
>
>I have a directory of 10000+ text files and would like to search for
>some strings in these files. When I tried using "grep" command with an
>asterisk, I get the error message somthing to the effect,
>
>	"File argument list too long"
>
How about an foreach loop
foreach v (/path/to/files/*.txt)
grep foo $v
end

in tcsh would do it.
-- 
Ben Lutgens  Cell: 651.387.9065  Home: 651.703.9541


Backup not found: (A)bort (R)etry (T)hrowup
-------------------------------------------------------------------------------­

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org