Linux Journal | Linux Tips
Bits and pieces of Linux tips, tricks and problem resolutions
Sunday, April 17, 2005
Solution for "File argument list too long" message with grep
If get "File argument list too long" message with grep:
ls -1 > filelist
awk '{ printf("grep 1a1 %s\n", $1) }' filelist > script.sh
chmod +x script.sh
./script.sh
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment