^C
Why doesn't it find `some in files recursively? Is it example of bad user inteface?
In fact it is not that ad-hock as it seems. One just need bit of UNIX cultural background to come to it logically.
Fact one is that grep is in fact g/re/p (go with regexp and print) command in VI editor. It's command line version have to be lifted over list of files and when mapped over directory tree have to use "find . | xargs grep `some" instead. Eventually somebody made it script - rgrep.sh and other guy integrate it to grep as -r option.
find . -| xargs vi -e g/some/p
No comments:
Post a Comment