beyondgrep / ack2

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

suppress errors -s ineffective with -x file list on standard-input #544

Closed n1vux closed 5 years ago

n1vux commented 9 years ago

There is a bug in -x -s combination not suppressing messages, reproducible on other OS than reported Windows, eg Linux. :

    (ls *.txt; echo no-such-file.txt)| ack -xs -li panel
    launch-panel.txt
    ack: no-such-file.txt: No such file

(Indeed, the file about panels contains panel, and the other *.txt do not.)

And base case,

ack -s -li panel no-such-file.txt

is properly silent.

( Per email report "-s option does not work" on ack-users re searching *.doc on Windows; don't do that, but -s is still broken. )

petdance commented 5 years ago

This has been fixed in ack 3.