mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
2c1ff2ed6b
It avoids the use of sed for prefixing filenames to output lines. Using sed for that is slower and prone to security bugs so now the sed method is only used as a fallback. This also fixes an actual bug: When grepping a binary file, GNU grep nowadays prints its diagnostics to stderr instead of stdout and thus the sed-method for prefixing the filename doesn't work. So with this commit grepping binary files gives reasonable output with GNU grep now. This was inspired by zgrep but the implementation is different. |
||
---|---|---|
.. | ||
Makefile.am | ||
xzdiff.1 | ||
xzdiff.in | ||
xzgrep.1 | ||
xzgrep.in | ||
xzless.1 | ||
xzless.in | ||
xzmore.1 | ||
xzmore.in |