beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 138 forks source link

Document --output's safety and make sure that it doesn't break. #402

Closed petdance closed 4 years ago

petdance commented 10 years ago

We should have test cases to make sure that, for example:

ack . foo.txt --output'unlink "foo.txt"'

will only ever output unlink "foo.txt" and not actually eval that and make it execute.

petdance commented 4 years ago

--output has been rewritten in ack3 and there is no eval involved.