Muzzafarath
12-03-2000, 09:53 AM
How would I go about passing all of the files that have been chmodded to -rw-r--r-- as arguments to a program (ee in this example)? I can grep the files like so (but this includes a lot of other info too):
ls -l --color | grep rw-r--r--
But ee complains if I do this (for obvious reasons http://www.linuxnewbie.org/ubb/wink.gif):
ee `ls -l | grep rw-r--r--`
Any ideas?
[This message has been edited by Muzzafarath (edited 03 December 2000).]
ls -l --color | grep rw-r--r--
But ee complains if I do this (for obvious reasons http://www.linuxnewbie.org/ubb/wink.gif):
ee `ls -l | grep rw-r--r--`
Any ideas?
[This message has been edited by Muzzafarath (edited 03 December 2000).]