Kevin wrote:
>I need to actually look into each file, not just look
>for the filenames. I think this is done with grep.
>But when I try to run grep with a file list of * in
>the sourcecode directory, it tells me that the list is
>too long.
I tried grep on the r directory from SemiViva0.4 and confirmed that a simple
search on *.m
does complain of "Argument list too long", but searching on D*.m works fine,
for instance,
to find "OUTX" in any routine with a name that begins with "D":
grep OUTX D*.m
You can also search the whole directory with the -r flag (recursive search of
directories). This will also work for searching through all routines in
installations
where the routines are broken out into 30 or so subdirectories. The example
below searches
all files in the current directory (".") or in any subdirectory.
grep -r OUTX .
---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members