| Next | Trivial Utilities | 80 |
I recently discovered that this doesn't work:
% ls some/directory | pgrep -I pattern
Couldn't open 'file1': No such file or directory; skipping
Couldn't open 'file2': No such file or directory; skipping
Couldn't open 'file3': No such file or directory; skipping
Couldn't open 'file4': No such file or directory; skipping
So sometime soon I guess I'll add a -p prefix option to pgrep
The right place to fix this would be in ls
I was amazed to discover that none of ls's 48 options do what I want
| Next | Menu | ![]() |
Copyright © 2012 M. J. Dominus |