xzgrep | xzgrep | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
# environment variables. | # environment variables. | |||
xz='xz --format=auto' | xz='xz --format=auto' | |||
unset GZIP BZIP BZIP2 LZOP | unset GZIP BZIP BZIP2 LZOP | |||
case ${0##*/} in | case ${0##*/} in | |||
*egrep*) prog=xzegrep; grep=${GREP:-egrep};; | *egrep*) prog=xzegrep; grep=${GREP:-egrep};; | |||
*fgrep*) prog=xzfgrep; grep=${GREP:-fgrep};; | *fgrep*) prog=xzfgrep; grep=${GREP:-fgrep};; | |||
*) prog=xzgrep; grep=${GREP:-grep};; | *) prog=xzgrep; grep=${GREP:-grep};; | |||
esac | esac | |||
version="$prog (XZ Utils) 5.1.2alpha" | version="$prog (XZ Utils) 5.2.0" | |||
usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... | usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... | |||
Look for instances of PATTERN in the input FILEs, using their | Look for instances of PATTERN in the input FILEs, using their | |||
uncompressed contents if they are compressed. | uncompressed contents if they are compressed. | |||
OPTIONs are the same as for '$grep'. | OPTIONs are the same as for '$grep'. | |||
Report bugs to <lasse.collin@tukaani.org>." | Report bugs to <lasse.collin@tukaani.org>." | |||
# sed script to escape all ' for the shell, and then (to handle trailing | # sed script to escape all ' for the shell, and then (to handle trailing | |||
skipping to change at line 109 | skipping to change at line 109 | |||
have_pat=1;; | have_pat=1;; | |||
(--h | --he | --hel | --help) | (--h | --he | --hel | --help) | |||
echo "$usage" || exit 2 | echo "$usage" || exit 2 | |||
exit;; | exit;; | |||
(-H | --wi | --wit | --with | --with- | --with-f | --with-fi \ | (-H | --wi | --wit | --with | --with- | --with-f | --with-fi \ | |||
| --with-fil | --with-file | --with-filen | --with-filena | --with-filena m \ | | --with-fil | --with-file | --with-filen | --with-filena | --with-filena m \ | |||
| --with-filename) | | --with-filename) | |||
with_filename=1 | with_filename=1 | |||
continue;; | continue;; | |||
(-l | --files-with-*) | (-l | --files-with-*) | |||
files_with_matches=1;; | files_with_matches=1 | |||
continue;; | ||||
(-L | --files-witho*) | (-L | --files-witho*) | |||
files_without_matches=1;; | files_without_matches=1 | |||
continue;; | ||||
(-h | --no-f*) | (-h | --no-f*) | |||
no_filename=1;; | no_filename=1;; | |||
(-V | --v | --ve | --ver | --vers | --versi | --versio | --version) | (-V | --v | --ve | --ver | --vers | --versi | --versio | --version) | |||
echo "$version" || exit 2 | echo "$version" || exit 2 | |||
exit;; | exit;; | |||
esac | esac | |||
case $option in | case $option in | |||
(*\'?*) | (*\'?*) | |||
option=\'$(expr "X${option}X" : 'X\(.*\)' | sed "$escape");; | option=\'$(expr "X${option}X" : 'X\(.*\)' | sed "$escape");; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |