mirror of https://git.tukaani.org/xz.git
xz man page: Use .ft CR instead of CW to silence warnings from groff.
(cherry picked from commit 31ef676567
)
This commit is contained in:
parent
077b673a8d
commit
6edc2b554f
32
src/xz/xz.1
32
src/xz/xz.1
|
@ -2397,7 +2397,7 @@ is run by a script or tool, for example, GNU
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
XZ_OPT=\-2v tar caf foo.tar.xz foo
|
XZ_OPT=\-2v tar caf foo.tar.xz foo
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2417,7 +2417,7 @@ scripts one may use something like this:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
XZ_OPT=${XZ_OPT\-"\-7e"}
|
XZ_OPT=${XZ_OPT\-"\-7e"}
|
||||||
export XZ_OPT
|
export XZ_OPT
|
||||||
.ft R
|
.ft R
|
||||||
|
@ -2675,7 +2675,7 @@ if compression is successful:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz foo
|
xz foo
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2691,7 +2691,7 @@ even if decompression is successful:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-dk bar.xz
|
xz \-dk bar.xz
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2709,7 +2709,7 @@ and 5\ MiB, respectively):
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
tar cf \- baz | xz \-4e > baz.tar.xz
|
tar cf \- baz | xz \-4e > baz.tar.xz
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2720,7 +2720,7 @@ to standard output with a single command:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-dcf a.txt b.txt.xz c.txt d.txt.lzma > abcd.txt
|
xz \-dcf a.txt b.txt.xz c.txt d.txt.lzma > abcd.txt
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2735,7 +2735,7 @@ can be used to parallelize compression of many files:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
find . \-type f \e! \-name '*.xz' \-print0 \e
|
find . \-type f \e! \-name '*.xz' \-print0 \e
|
||||||
| xargs \-0r \-P4 \-n16 xz \-T1
|
| xargs \-0r \-P4 \-n16 xz \-T1
|
||||||
.ft R
|
.ft R
|
||||||
|
@ -2775,7 +2775,7 @@ after compressing multiple files:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-robot \-\-list *.xz | awk '/^totals/{print $5\-$4}'
|
xz \-\-robot \-\-list *.xz | awk '/^totals/{print $5\-$4}'
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2795,7 +2795,7 @@ option:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
if ! eval "$(xz \-\-robot \-\-version 2> /dev/null)" ||
|
if ! eval "$(xz \-\-robot \-\-version 2> /dev/null)" ||
|
||||||
[ "$XZ_VERSION" \-lt 50000002 ]; then
|
[ "$XZ_VERSION" \-lt 50000002 ]; then
|
||||||
echo "Your xz is too old."
|
echo "Your xz is too old."
|
||||||
|
@ -2811,7 +2811,7 @@ but if a limit has already been set, don't increase it:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
NEWLIM=$((123 << 20))\ \ # 123 MiB
|
NEWLIM=$((123 << 20))\ \ # 123 MiB
|
||||||
OLDLIM=$(xz \-\-robot \-\-info\-memory | cut \-f3)
|
OLDLIM=$(xz \-\-robot \-\-info\-memory | cut \-f3)
|
||||||
if [ $OLDLIM \-eq 0 \-o $OLDLIM \-gt $NEWLIM ]; then
|
if [ $OLDLIM \-eq 0 \-o $OLDLIM \-gt $NEWLIM ]; then
|
||||||
|
@ -2864,7 +2864,7 @@ can be modified to use a bigger dictionary:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-lzma2=preset=1,dict=32MiB foo.tar
|
xz \-\-lzma2=preset=1,dict=32MiB foo.tar
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2892,7 +2892,7 @@ would use:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-vv \-\-lzma2=dict=192MiB big_foo.tar
|
xz \-vv \-\-lzma2=dict=192MiB big_foo.tar
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2922,7 +2922,7 @@ using about 100\ KiB of memory.
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-check=crc32 \-\-lzma2=preset=6e,dict=64KiB foo
|
xz \-\-check=crc32 \-\-lzma2=preset=6e,dict=64KiB foo
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2950,7 +2950,7 @@ slightly (like 0.1\ %) smaller file than
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-lzma2=preset=6e,pb=0,lc=4 source_code.tar
|
xz \-\-lzma2=preset=6e,pb=0,lc=4 source_code.tar
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2963,7 +2963,7 @@ using the x86 BCJ filter:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-x86 \-\-lzma2 libfoo.so
|
xz \-\-x86 \-\-lzma2 libfoo.so
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
@ -2998,7 +2998,7 @@ to LZMA2 to accommodate the three-byte alignment:
|
||||||
.RS
|
.RS
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.ft CW
|
.ft CR
|
||||||
xz \-\-delta=dist=3 \-\-lzma2=pb=0 foo.tiff
|
xz \-\-delta=dist=3 \-\-lzma2=pb=0 foo.tiff
|
||||||
.ft R
|
.ft R
|
||||||
.fi
|
.fi
|
||||||
|
|
Loading…
Reference in New Issue