Format patool.txt with 80 columns width.
This commit is contained in:
parent
d922873068
commit
bd19fceeeb
2
Makefile
2
Makefile
|
@ -63,7 +63,7 @@ test:
|
||||||
nosetests -v --processes=$(NUMCPUS) -m "^test_.*" $(TESTOPTS) $(TESTS)
|
nosetests -v --processes=$(NUMCPUS) -m "^test_.*" $(TESTOPTS) $(TESTS)
|
||||||
|
|
||||||
doc/patool.txt: doc/patool.1
|
doc/patool.txt: doc/patool.1
|
||||||
man -l doc/patool.1 | perl -pe 's/.\cH//g' > doc/patool.txt
|
cols=`stty size | cut -d" " -f2`; stty cols 80; man -l doc/patool.1 | perl -pe 's/.\cH//g' > doc/patool.txt; stty cols $$cols
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb:
|
deb:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
PATOOL(1) PATOOL(1)
|
PATOOL(1) PATOOL(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,28 +11,36 @@ SYNOPSIS
|
||||||
patool formats [options]
|
patool formats [options]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
Various archive types can be created, extracted, tested and listed by patool. The advantage of patool is its simplicity in handling archive files without having to
|
Various archive types can be created, extracted, tested and listed by
|
||||||
remember a myriad of programs and options.
|
patool. The advantage of patool is its simplicity in handling archive
|
||||||
|
files without having to remember a myriad of programs and options.
|
||||||
|
|
||||||
The archive format is determined by the archive file extension and as a fallback with file(1).
|
The archive format is determined by the file(1) program and as a fall‐
|
||||||
|
back by the archive file extension.
|
||||||
|
|
||||||
patool supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z), BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio), RPM (.rpm), DEB (.deb), LZIP
|
patool supports 7z (.7z), ZIP (.zip, .jar), GZIP (.gz), compress (.Z),
|
||||||
(.lz), LZOP (.lzo), LZMA (.lzma), RAR (.rar) and XZ (.xz) formats. It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 ar‐
|
BZIP2 (.bz2), TAR (.tar), ARJ (.arj), CAB (.cab), CPIO (.cpio), RPM
|
||||||
chives).
|
(.rpm), DEB (.deb), LZIP (.lz), LZOP (.lzo), LZMA (.lzma), RAR (.rar)
|
||||||
|
and XZ (.xz) formats. It relies on helper applications to handle those
|
||||||
|
archive formats (for example bzip2 for BZIP2 archives).
|
||||||
|
|
||||||
COMMANDS
|
COMMANDS
|
||||||
Several commands and options are available.
|
Several commands and options are available.
|
||||||
|
|
||||||
extract
|
extract
|
||||||
Extract files from an archive4. Often one wants to extract all files in an archive to a single subdirectory. However, some archives contain multiple files in their
|
Extract files from an archive. Often one wants to extract all files in
|
||||||
root directories. The patool program overcomes this problem by first extracting files to a unique (temporary) directory, and then moving its contents back if possible.
|
an archive to a single subdirectory. However, some archives contain
|
||||||
This also prevents local files from being overwritten by mistake.
|
multiple files in their root directories. The patool program overcomes
|
||||||
|
this problem by first extracting files to a unique (temporary) direc‐
|
||||||
|
tory, and then moving its contents back if possible. This also prevents
|
||||||
|
local files from being overwritten by mistake.
|
||||||
|
|
||||||
--force
|
--force
|
||||||
Allow overwriting of local files.
|
Allow overwriting of local files.
|
||||||
|
|
||||||
--verbose
|
--verbose
|
||||||
Be verbose when extracting (if the helper application supports it).
|
Be verbose when extracting (if the helper application supports
|
||||||
|
it).
|
||||||
|
|
||||||
--help Show help for this command.
|
--help Show help for this command.
|
||||||
|
|
||||||
|
@ -76,4 +84,4 @@ COPYRIGHT
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
patool February 2010 PATOOL(1)
|
patool February 2010 PATOOL(1)
|
||||||
|
|
Loading…
Reference in New Issue