From 109f1913d4824c8214d5bbd38ebebf62c37572da Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 13 Feb 2024 17:00:17 +0200 Subject: Scripts: Add lz4 support to xzgrep and xzdiff. --- src/scripts/xzgrep.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scripts/xzgrep.in') diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in index 6e3d8d7e..74add3e0 100644 --- a/src/scripts/xzgrep.in +++ b/src/scripts/xzgrep.in @@ -181,6 +181,7 @@ for i; do *[-.]bz2 | *[-.]tbz | *.tbz2) uncompress="bzip2 -cdf";; *[-.]lzo | *[-.]tzo) uncompress="lzop -cdf";; *[-.]zst | *[-.]tzst) uncompress="zstd -cdfq";; # zstd needs -q. + *[-.]lz4) uncompress="lz4 -cdf";; *) uncompress="$xz -cdfqQ";; # -qQ to ignore warnings like unsupp. check. esac # xz_status will hold the decompressor's exit status. -- cgit v1.2.3