Format patool.txt with 80 columns width.

This commit is contained in:
Bastian Kleineidam 2010-03-04 19:51:47 +01:00
parent d922873068
commit bd19fceeeb
2 changed files with 21 additions and 13 deletions

View File

@ -63,7 +63,7 @@ test:
nosetests -v --processes=$(NUMCPUS) -m "^test_.*" $(TESTOPTS) $(TESTS)
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
deb:

View File

@ -1,4 +1,4 @@
PATOOL(1) PATOOL(1)
PATOOL(1) PATOOL(1)
@ -11,28 +11,36 @@ SYNOPSIS
patool formats [options]
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
remember a myriad of programs and options.
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 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
(.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
chives).
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 (.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
Several commands and options are available.
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
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.
This also prevents local files from being overwritten by mistake.
Extract files from an archive. Often one wants to extract all files in
an archive to a single subdirectory. However, some archives contain
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
Allow overwriting of local files.
--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.
@ -76,4 +84,4 @@ COPYRIGHT
patool February 2010 PATOOL(1)
patool February 2010 PATOOL(1)