From bd19fceeebbe8e05cf87ba3617a79831c23e7976 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 4 Mar 2010 19:51:47 +0100 Subject: [PATCH] Format patool.txt with 80 columns width. --- Makefile | 2 +- doc/patool.txt | 32 ++++++++++++++++++++------------ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 1c85b84..617cccb 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/doc/patool.txt b/doc/patool.txt index a613ab7..8d86384 100644 --- a/doc/patool.txt +++ b/doc/patool.txt @@ -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)