OR:$file = find ./ -name blah -exec ls {} \;
I can't get find to work in my script, and grep doesn't print out the full path. My idea is to save the path (which changes every day) as a variable. I figure this is easier than having my script decide the day of week - 1. Is there a way to do this without installing any modules? Thanks! Happy summer solstice.$file = grep -M blah, <*>;
In reply to find or grep? by nkpgmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |