Subject: | Shouldn't 'text' files be searched by default? |
Just decided to give 'ack' a try. So I searched for my user name in
/etc/passwd:
ack myuserid /etc/passwd
No result. What? Turns out that I need to say
ack --type=text myuserid /etc/passwd
Two questions: Shouldn't
a) Shouldn't "text" files be considered to be "interesting" by default?
b) Shouldn't ack just search the file if only *one* is given
explicitely, regardless of type? Or maybe print a warning in this case.