UNIX ack: Difference between revisions
Jump to navigation
Jump to search
(No difference)
|
Revision as of 13:07, 12 November 2012
ACK [1] is a 99% replacement for the grep and find combination. But not all commands are as obvious unfortunately.
Predefined types
ack --php wfHook
Searches through all the php-files for the occurence of the text 'wfHook'.
txt files
ack UserName --type=text WikiTrace*.txt
Searches the txt files WikiTrace.txt for the occurence of Username.
See also
Reference
- ↑ BetterThanGrep, ACK home page. ack is a tool like grep, optimized for programmers.