in reply to Command line question
Updated a bit from my original submission. (:
perl -lne 'print for grep /filename/, </home/$_/bin/*>`
without the "-l", you need to chomp or $_ will have a trailing newline, which would cause you problems. Thanks to kanji for mentioning that -l auto-chomps, which I hadn't been aware of.
- tye (but my friends call me "Tye")
|
|---|