mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 14:42:40 -04:00
- Handle whitespace with long flags that take arguments: echo 'foo bar' > test zgrep --regexp='foo bar' test - Do not hang reading from stdin with patterns in a file: echo foobar > test echo foo > pattern zgrep -f pattern test zgrep --file=pattern test - Handle any flags after -e: echo foobar > test zgrep -e foo --ignore-case < test These two are still outstanding problems: - Does not handle flags that take an argument if there is no whitespace: zgrep -enfs /etc/rpc - When more than one -e pattern used matching should occur for all patterns (similar to multiple patterns supplied with -f file). Instead only the last pattern is used for matching: zgrep -e rex -e nfs /etc/rpc (This problem is masked in the unpatched version by the "any flags after -e" problem.) Add tests for the above problems. Update the mange and add references to gzip(1) and zstd(1) and also document the remaining known problems. PR: 247126 Approved by: markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25613 |
||
|---|---|---|
| .. | ||
| d_basic.out | ||
| d_begin_end_a.out | ||
| d_begin_end_b.out | ||
| d_binary.out | ||
| d_color_a.in | ||
| d_color_a.out | ||
| d_color_b.in | ||
| d_color_b.out | ||
| d_color_c.out | ||
| d_context2_a.out | ||
| d_context2_b.out | ||
| d_context2_c.out | ||
| d_context_a.in | ||
| d_context_a.out | ||
| d_context_b.in | ||
| d_context_b.out | ||
| d_context_c.out | ||
| d_context_d.out | ||
| d_context_e.in | ||
| d_context_e.out | ||
| d_context_f.out | ||
| d_context_g.out | ||
| d_egrep.out | ||
| d_escmap.in | ||
| d_f_file_empty.in | ||
| d_file_exp.in | ||
| d_file_exp.out | ||
| d_ignore_case.out | ||
| d_input | ||
| d_invert.in | ||
| d_invert.out | ||
| d_oflag_zerolen_a.in | ||
| d_oflag_zerolen_a.out | ||
| d_oflag_zerolen_b.in | ||
| d_oflag_zerolen_b.out | ||
| d_oflag_zerolen_c.in | ||
| d_oflag_zerolen_c.out | ||
| d_oflag_zerolen_d.in | ||
| d_oflag_zerolen_e.in | ||
| d_oflag_zerolen_e.out | ||
| d_recurse.out | ||
| d_recurse_symlink.err | ||
| d_recurse_symlink.out | ||
| d_whole_line.out | ||
| d_word_regexps.out | ||
| d_zgrep.out | ||
| t_grep.sh | ||