4 ms·
Indeed. It turns out that Defaults Matter. Who knew?
by vdm 17y ago
Indeed. It turns out that Defaults Matter. Who knew?
- snprbob86 17y agoI've been using Ack tons, love it. However, I don't like the --notext default. I find that I specify --text almost every time. Just wanted to give everyone a headsup that this is the case: I introduced some bugs in my app when I missed a whole bunch of .txt templates for plain text email variants.
- CUViper 17y agoAh, but ack supports an options file, so you can actually change your own defaults. Consider adding "--text" to "$HOME/.ackrc". In case you want more, specify just one option per line.
- snprbob86 17y agoThanks for the tip. I assumed that this existed, but hadn't gotten around to looking for it yet. My point, however, was to confirm that defaults do, in fact, matter :-)
- betterthangrep 17y ago"Defaults Matter" really is a key part of ack, and I thank you for crystallizing it for me. I would love to quote this on the betterthangrep.com page. Would you please drop me a line at andy@petdance.com and give me your name and an OK?