source: patches/tar-1.25-man-1.patch@ d89bf75

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d89bf75 was abdca7b, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Tar to 1.25.

  • Property mode set to 100644
File size: 19.5 KB
RevLine 
[c5dbf71]1Submitted By: Joe Ciccone <jciccone@gmail.com>
[abdca7b]2Date: 2011-01-08
[c5dbf71]3Initial Package Version: 1.22
4Origin: Debian
5Upstream Status: Unknown
6Description: This patch adds a man page for tar generated by the perl script
7 from debian.
8
[abdca7b]9diff -Naur tar-1.25.orig/doc/Makefile.am tar-1.25/doc/Makefile.am
10--- tar-1.25.orig/doc/Makefile.am 2010-10-24 14:07:54.000000000 -0400
11+++ tar-1.25/doc/Makefile.am 2011-01-08 16:52:08.938781619 -0500
[c5dbf71]12@@ -17,6 +17,7 @@
13 ## along with this program; if not, write to the Free Software Foundation,
14 ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
16+man_MANS = tar.1
17 info_TEXINFOS = tar.texi
18 tar_TEXINFOS = \
19 dumpdir.texi\
[abdca7b]20diff -Naur tar-1.25.orig/doc/Makefile.in tar-1.25/doc/Makefile.in
21--- tar-1.25.orig/doc/Makefile.in 2010-11-07 08:53:45.000000000 -0500
22+++ tar-1.25/doc/Makefile.in 2011-01-08 16:52:08.938781619 -0500
23@@ -172,7 +172,7 @@
[c5dbf71]24 MAKEINFOHTML = $(MAKEINFO) --html
25 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
26 DVIPS = dvips
27-am__installdirs = "$(DESTDIR)$(infodir)"
28+am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"
29 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
30 am__vpath_adj = case $$p in \
31 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
[abdca7b]32@@ -194,6 +194,9 @@
[c5dbf71]33 am__base_list = \
34 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
35 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
36+man1dir = $(mandir)/man1
37+NROFF = nroff
38+MANS = $(man_MANS)
39 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40 ACLOCAL = @ACLOCAL@
41 ALLOCA = @ALLOCA@
[abdca7b]42@@ -875,6 +878,7 @@
[c5dbf71]43 top_build_prefix = @top_build_prefix@
44 top_builddir = @top_builddir@
45 top_srcdir = @top_srcdir@
46+man_MANS = tar.1
47 info_TEXINFOS = tar.texi
48 tar_TEXINFOS = \
49 dumpdir.texi\
[abdca7b]50@@ -1097,6 +1101,44 @@
[c5dbf71]51 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
52 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
53 done
54+install-man1: $(man_MANS)
55+ @$(NORMAL_INSTALL)
56+ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
57+ @list=''; test -n "$(man1dir)" || exit 0; \
58+ { for i in $$list; do echo "$$i"; done; \
59+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
60+ sed -n '/\.1[a-z]*$$/p'; \
61+ } | while read p; do \
62+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
63+ echo "$$d$$p"; echo "$$p"; \
64+ done | \
65+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
66+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
67+ sed 'N;N;s,\n, ,g' | { \
68+ list=; while read file base inst; do \
69+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
70+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
71+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
72+ fi; \
73+ done; \
74+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
75+ while read files; do \
76+ test -z "$$files" || { \
77+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
78+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
79+ done; }
80+
81+uninstall-man1:
82+ @$(NORMAL_UNINSTALL)
83+ @list=''; test -n "$(man1dir)" || exit 0; \
84+ files=`{ for i in $$list; do echo "$$i"; done; \
85+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
86+ sed -n '/\.1[a-z]*$$/p'; \
87+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
88+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
89+ test -z "$$files" || { \
90+ echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
91+ cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
92 tags: TAGS
93 TAGS:
94
[abdca7b]95@@ -1105,6 +1147,19 @@
[c5dbf71]96
97
98 distdir: $(DISTFILES)
99+ @list='$(MANS)'; if test -n "$$list"; then \
100+ list=`for p in $$list; do \
101+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
102+ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
103+ if test -n "$$list" && \
104+ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
105+ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
106+ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
107+ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
108+ echo " typically \`make maintainer-clean' will remove them" >&2; \
109+ exit 1; \
110+ else :; fi; \
111+ else :; fi
112 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
113 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
114 list='$(DISTFILES)'; \
[abdca7b]115@@ -1139,9 +1194,9 @@
[c5dbf71]116 dist-info
117 check-am: all-am
118 check: check-am
119-all-am: Makefile $(INFO_DEPS)
120+all-am: Makefile $(INFO_DEPS) $(MANS)
121 installdirs:
122- for dir in "$(DESTDIR)$(infodir)"; do \
123+ for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"; do \
124 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
125 done
126 install: install-am
[abdca7b]127@@ -1189,7 +1244,7 @@
[c5dbf71]128
129 info-am: $(INFO_DEPS)
130
131-install-data-am: install-info-am
132+install-data-am: install-info-am install-man
133
134 install-dvi: install-dvi-am
135
[abdca7b]136@@ -1263,7 +1318,7 @@
[c5dbf71]137 install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
138 done; \
139 else : ; fi
140-install-man:
141+install-man: install-man1
142
143 install-pdf: install-pdf-am
144
[abdca7b]145@@ -1311,7 +1366,9 @@
[c5dbf71]146 ps-am: $(PSS)
147
148 uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
149- uninstall-pdf-am uninstall-ps-am
150+ uninstall-man uninstall-pdf-am uninstall-ps-am
151+
152+uninstall-man: uninstall-man1
153
154 .MAKE: install-am install-strip
155
[abdca7b]156@@ -1320,14 +1377,15 @@
[c5dbf71]157 dvi-am html html-am info info-am install install-am \
158 install-data install-data-am install-dvi install-dvi-am \
159 install-exec install-exec-am install-html install-html-am \
160- install-info install-info-am install-man install-pdf \
161- install-pdf-am install-ps install-ps-am install-strip \
162- installcheck installcheck-am installdirs maintainer-clean \
163- maintainer-clean-aminfo maintainer-clean-generic \
164- maintainer-clean-vti mostlyclean mostlyclean-aminfo \
165- mostlyclean-generic mostlyclean-vti pdf pdf-am ps ps-am \
166- uninstall uninstall-am uninstall-dvi-am uninstall-html-am \
167- uninstall-info-am uninstall-pdf-am uninstall-ps-am
168+ install-info install-info-am install-man install-man1 \
169+ install-pdf install-pdf-am install-ps install-ps-am \
170+ install-strip installcheck installcheck-am installdirs \
171+ maintainer-clean maintainer-clean-aminfo \
172+ maintainer-clean-generic maintainer-clean-vti mostlyclean \
173+ mostlyclean-aminfo mostlyclean-generic mostlyclean-vti pdf \
174+ pdf-am ps ps-am uninstall uninstall-am uninstall-dvi-am \
175+ uninstall-html-am uninstall-info-am uninstall-man \
176+ uninstall-man1 uninstall-pdf-am uninstall-ps-am
177
178
179 header.texi: $(top_srcdir)/src/tar.h
[abdca7b]180diff -Naur tar-1.25.orig/doc/tar.1 tar-1.25/doc/tar.1
181--- tar-1.25.orig/doc/tar.1 1969-12-31 19:00:00.000000000 -0500
182+++ tar-1.25/doc/tar.1 2011-01-08 16:53:11.798664576 -0500
183@@ -0,0 +1,366 @@
184+.\" generated by script on Sat Jan 8 16:53:11 2011
185+.Dd Jan 8, 2011
[c5dbf71]186+.Dt TAR 1
187+.Sh NAME
188+.Nm tar
189+.Nd The GNU version of the tar archiving utility
190+.Sh SYNOPSIS
191+.Nm tar
192+.Oo Fl Oc Cm A Fl \-catenate \-concatenate Cm \||\| c Fl \-create Cm \||\| d Fl \-diff \-compare Cm \||\| Fl \-delete Cm \||\| r Fl \-append Cm \||\| t Fl \-list Cm \||\| Fl \-test\-label Cm \||\| u Fl \-update Cm \||\| x Fl \-extract \-get
193+.Op Ar options
194+.Op Ar pathname ...
195+.Sh DESCRIPTION
196+.Nm Tar
197+stores and extracts files from a tape or disk archive.
198+.Pp
199+The first argument to
200+tar
201+should be a function; either one of the letters
202+.Cm Acdrtux ,
203+or one of the long function names.
204+A function letter need not be prefixed with ``\-'', and may be combined
205+with other single-letter options.
206+A long function name must be prefixed with
207+.Cm \\-\\- .
208+Some options take a parameter; with the single-letter form
209+these must be given as separate arguments.
210+With the long form, they may be given by appending
211+.Cm = Ns Ar value
212+to the option.
213+.Sh FUNCTION LETTERS
214+Main operation mode:
215+.Bl -tag -width flag
216+.It Fl A , Fl \-catenate , Fl \-concatenate
217+append tar files to an archive
218+.It Fl c , Fl \-create
219+create a new archive
220+.It Fl d , Fl \-diff , Fl \-compare
221+find differences between archive and file system
222+.It Fl \-delete
223+delete from the archive (not on mag tapes!)
224+.It Fl r , Fl \-append
225+append files to the end of an archive
226+.It Fl t , Fl \-list
227+list the contents of an archive
228+.It Fl \-test\-label
229+test the archive volume label and exit
230+.It Fl u , Fl \-update
231+only append files newer than copy in archive
232+.It Fl x , Fl \-extract , Fl \-get
233+extract files from an archive
234+.El
235+.Sh OTHER OPTIONS
236+Operation modifiers:
237+.Bl -tag -width flag
238+.It \-[0\-7][lmh]
239+specify drive and density
240+.It Fl a , Fl \-auto\-compress
241+use archive suffix to determine the compression program
242+.It Fl \-add\-file Ns \= Ns Ar FILE
243+add given FILE to the archive (useful if its name starts with a dash)
244+.It Fl \-anchored
245+patterns match file name start
246+.It Fl \-no\-anchored
247+patterns match after any `/' (default for exclusion)
248+.It Fl \-atime\-preserve
249+preserve access times on dumped files, either by restoring the times
250+.It Fl \-no\-auto\-compress
251+do not use archive suffix to determine the compression program
252+.It Fl b , Fl \-blocking\-factor Ar BLOCKS
253+BLOCKS x 512 bytes per record
254+.It Fl B , Fl \-read\-full\-records
255+reblock as we read (for 4.2BSD pipes)
256+.It Fl \-backup
257+backup before removal, choose version CONTROL
258+.It Fl C , Fl \-directory Ar DIR
259+change to directory DIR
260+.It Fl \-check\-device
261+check device numbers when creating incremental archives (default)
262+.It Fl \-no\-check\-device
263+do not check device numbers when creating incremental archives
264+.It Fl \-checkpoint
265+display progress messages every NUMBERth record (default 10)
266+.It Fl \-checkpoint\-action Ns \= Ns Ar ACTION
267+execute ACTION on each checkpoint
268+.It Fl \-delay\-directory\-restore
269+delay setting modification times and permissions of extracted
270+.It Fl \-no\-delay\-directory\-restore
271+cancel the effect of --delay-directory-restore option
272+.It Fl \-exclude Ns \= Ns Ar PATTERN
273+exclude files, given as a PATTERN
274+.It Fl \-exclude\-backups
275+exclude backup and lock files
276+.It Fl \-exclude\-caches
277+exclude contents of directories containing CACHEDIR.TAG,
278+.It Fl \-exclude\-caches\-all
279+exclude directories containing CACHEDIR.TAG
280+.It Fl \-exclude\-caches\-under
281+exclude everything under directories containing CACHEDIR.TAG
282+.It Fl \-exclude\-tag Ns \= Ns Ar FILE
283+exclude contents of directories containing FILE, except
284+.It Fl \-exclude\-tag\-all Ns \= Ns Ar FILE
285+exclude directories containing FILE
286+.It Fl \-exclude\-tag\-under Ns \= Ns Ar FILE
287+exclude everything under directories containing FILE
288+.It Fl \-exclude\-vcs
289+exclude version control system directories
290+.It Fl f , Fl \-file Ar ARCHIVE
291+use archive file or device ARCHIVE
292+.It Fl F , Fl \-info\-script , Fl \-new\-volume\-script Ar NAME
293+run script at end of each tape (implies -M)
294+.It Fl \-force\-local
295+archive file is local even if it has a colon
[abdca7b]296+.It Fl \-full\-time
297+print file time to its full resolution
[c5dbf71]298+.It Fl g , Fl \-listed\-incremental Ar FILE
299+handle new GNU-format incremental backup
300+.It Fl G , Fl \-incremental
301+handle old GNU-format incremental backup
302+.It Fl \-group Ns \= Ns Ar NAME
303+force NAME as group for added files
304+.It Fl h , Fl \-dereference
305+follow symlinks; archive and dump the files they point to
306+.It Fl H , Fl \-format Ar FORMAT
307+create archive of the given formatFORMAT is one of the following:
308+.Bl -tag -width flag
309+.It Fl \-format=gnu
310+GNU tar 1.13.x format
311+.It Fl \-format=oldgnu
312+GNU format as per tar <= 1.12
313+.It Fl \-format=pax
314+POSIX 1003.1-2001 (pax) format
315+.It Fl \-format=posix
316+same as pax
317+.It Fl \-format=ustar
318+POSIX 1003.1-1988 (ustar) format
319+.It Fl \-format=v7
320+old V7 tar format
321+.El
322+.It Fl \-hard\-dereference
323+follow hard links; archive and dump the files they refer to
324+.It Fl i , Fl \-ignore\-zeros
325+ignore zeroed blocks in archive (means EOF)
326+.It Fl I , Fl \-use\-compress\-program Ar PROG
327+filter through PROG (must accept -d)
328+.It Fl \-ignore\-case
329+ignore case
330+.It Fl \-no\-ignore\-case
331+case sensitive matching (default)
332+.It Fl \-ignore\-command\-error
333+ignore exit codes of children
334+.It Fl \-no\-ignore\-command\-error
335+treat non-zero exit codes of children as error
336+.It Fl \-ignore\-failed\-read
337+do not exit with nonzero on unreadable files
338+.It Fl \-index\-file Ns \= Ns Ar FILE
339+send verbose output to FILE
340+.It Fl j , Fl \-bzip2
341+
342+.It Fl J , Fl \-xz
343+
344+.It Fl k , Fl \-keep\-old\-files
345+don't replace existing files when extracting
346+.It Fl K , Fl \-starting\-file Ar MEMBER-NAME
347+begin at member MEMBER-NAME in the archive
348+.It Fl \-keep\-newer\-files
349+don't replace existing files that are newer than their archive copies
350+.It Fl l , Fl \-check\-links
351+print a message if not all links are dumped
352+.It Fl L , Fl \-tape\-length Ar NUMBER
353+change tape after writing NUMBER x 1024 bytes
354+.It Fl \-level Ns \= Ns Ar NUMBER
355+dump level for created listed-incremental archive
356+.It Fl \-lzip
357+
358+.It Fl \-lzma
359+
360+.It Fl \-lzop
361+
362+.It Fl m , Fl \-touch
363+don't extract file modified time
364+.It Fl M , Fl \-multi\-volume
365+create/list/extract multi-volume archive
366+.It Fl \-mode Ns \= Ns Ar CHANGES
367+force (symbolic) mode CHANGES for added files
368+.It Fl \-mtime Ns \= Ns Ar DATE-OR-FILE
369+set mtime for added files from DATE-OR-FILE
370+.It Fl n , Fl \-seek
371+archive is seekable
372+.It Fl N , Fl \-newer , Fl \-after\-date Ar DATE-OR-FILE
373+only store files newer than DATE-OR-FILE
374+.It Fl \-newer\-mtime Ns \= Ns Ar DATE
375+compare date and time when data changed only
376+.It Fl \-null
377+-T reads null-terminated names, disable -C
378+.It Fl \-no\-null
379+disable the effect of the previous --null option
380+.It Fl \-numeric\-owner
381+always use numbers for user/group names
382+.It Fl O , Fl \-to\-stdout
383+extract files to standard output
384+.It Fl \-occurrence
385+process only the NUMBERth occurrence of each file in the archive;
386+.It Fl \-old\-archive , Fl \-portability
387+same as --format=v7
388+.It Fl \-one\-file\-system
389+stay in local file system when creating archive
390+.It Fl \-overwrite
391+overwrite existing files when extracting
392+.It Fl \-overwrite\-dir
393+overwrite metadata of existing directories when extracting (default)
394+.It Fl \-no\-overwrite\-dir
395+preserve metadata of existing directories
396+.It Fl \-owner Ns \= Ns Ar NAME
397+force NAME as owner for added files
398+.It Fl p , Fl \-preserve\-permissions , Fl \-same\-permissions
399+extract information about file permissions (default for superuser)
400+.It Fl P , Fl \-absolute\-names
401+don't strip leading `/'s from file names
402+.It Fl \-pax\-option Ns \= Ns Ar keyword[[:]=value][,keyword[[:]=value]]...
403+control pax keywords
404+.It Fl \-posix
405+same as --format=posix
406+.It Fl \-preserve
407+same as both -p and -s
408+.It Fl \-quote\-chars Ns \= Ns Ar STRING
409+additionally quote characters from STRING
410+.It Fl \-no\-quote\-chars Ns \= Ns Ar STRING
411+disable quoting for characters from STRING
412+.It Fl \-quoting\-style Ns \= Ns Ar STYLE
413+set name quoting style; see below for valid STYLE values
414+.It Fl R , Fl \-block\-number
415+show block number within archive with each message
416+.It Fl \-record\-size Ns \= Ns Ar NUMBER
417+NUMBER of bytes per record, multiple of 512
418+.It Fl \-recursion
419+recurse into directories (default)
420+.It Fl \-no\-recursion
421+avoid descending automatically in directories
422+.It Fl \-recursive\-unlink
423+empty hierarchies prior to extracting directory
424+.It Fl \-remove\-files
425+remove files after adding them to the archive
426+.It Fl \-restrict
427+disable use of some potentially harmful options
428+.It Fl \-rmt\-command Ns \= Ns Ar COMMAND
429+use given rmt COMMAND instead of rmt
430+.It Fl \-rsh\-command Ns \= Ns Ar COMMAND
431+use remote COMMAND instead of rsh
432+.It Fl s , Fl \-preserve\-order , Fl \-same\-order
433+sort names to extract to match archive
434+.It Fl S , Fl \-sparse
435+handle sparse files efficiently
436+.It Fl \-same\-owner
437+try extracting files with the same ownership as exists in the archive (default for superuser)
438+.It Fl \-no\-same\-owner
439+extract files as yourself (default for ordinary users)
440+.It Fl \-no\-same\-permissions
441+apply the user's umask when extracting permissions from the archive (default for ordinary users)
442+.It Fl \-no\-seek
443+archive is not seekable
444+.It Fl \-show\-defaults
445+show tar defaults
446+.It Fl \-show\-omitted\-dirs
447+when listing or extracting, list each directory that does not match search criteria
448+.It Fl \-show\-transformed\-names , Fl \-show\-stored\-names
449+show file or archive names after transformation
450+.It Fl \-sparse\-version Ns \= Ns Ar MAJOR[.MINOR]
451+set version of the sparse format to use (implies --sparse)
452+.It Fl \-strip\-components Ns \= Ns Ar NUMBER
453+strip NUMBER leading components from file names on extraction
454+.It Fl \-suffix Ns \= Ns Ar STRING
455+backup before removal, override usual suffix ('~' unless overridden by environment variable SIMPLE_BACKUP_SUFFIX)
456+.It Fl T , Fl \-files\-from Ar FILE
457+get names to extract or create from FILE
458+.It Fl \-to\-command Ns \= Ns Ar COMMAND
459+pipe extracted files to another program
460+.It Fl \-totals
461+print total bytes after processing the archive;
462+.It Fl \-transform , Fl \-xform Ar EXPRESSION
463+use sed replace EXPRESSION to transform file names
464+.It Fl U , Fl \-unlink\-first
465+remove each file prior to extracting over it
466+.It Fl \-unquote
467+unquote filenames read with -T (default)
468+.It Fl \-no\-unquote
469+do not unquote filenames read with -T
470+.It Fl \-utc
[abdca7b]471+print file modification times in UTC
[c5dbf71]472+.It Fl v , Fl \-verbose
473+verbosely list files processed
474+.It Fl V , Fl \-label Ar TEXT
475+create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name
476+.It Fl \-volno\-file Ns \= Ns Ar FILE
477+use/update the volume number in FILE
478+.It Fl w , Fl \-interactive , Fl \-confirmation
479+ask for confirmation for every action
480+.It Fl W , Fl \-verify
481+attempt to verify the archive after writing it
482+.It Fl \-warning Ns \= Ns Ar KEYWORD
483+warning control
484+.It Fl \-wildcards
485+use wildcards (default for exclusion)
486+.It Fl \-wildcards\-match\-slash
487+wildcards match `/' (default for exclusion)
488+.It Fl \-no\-wildcards\-match\-slash
489+wildcards do not match `/'
490+.It Fl \-no\-wildcards
491+verbatim string matching
492+.It Fl X , Fl \-exclude\-from Ar FILE
493+exclude patterns listed in FILE
494+.It Fl z , Fl \-gzip , Fl \-gunzip Fl \-ungzip
495+
496+.It Fl Z , Fl \-compress , Fl \-uncompress
497+
498+.El
499+.Sh ENVIRONMENT
500+The behavior of tar is controlled by the following environment variables,
501+among others:
502+.Bl -tag -width Ds
503+.It Ev SIMPLE_BACKUP_SUFFIX
504+Backup prefix to use when extracting, if
505+.Fl \-suffix
506+is not specified.
507+The backup suffix defaults to `~' if neither is specified.
508+.It Ev TAR_OPTIONS
509+Options to prepend to those specified on the command line, separated by
510+whitespace. Embedded backslashes may be used to escape whitespace or
511+backslashes within an option.
512+.It Ev TAPE
513+Device or file to use for the archive if
514+.Fl \-file
515+is not specified.
516+If this environment variable is unset, use stdin or stdout instead.
517+.El
518+.Sh EXAMPLES
519+Create archive.tar from files foo and bar.
520+.Bd -literal -offset indent -compact
521+tar \-cf archive.tar foo bar
522+.Ed
523+List all files in archive.tar verbosely.
524+.Bd -literal -offset indent -compact
525+tar \-tvf archive.tar
526+.Ed
527+Extract all files from archive.tar.
528+.Bd -literal -offset indent -compact
529+tar \-xf archive.tar
530+.Ed
531+.Sh SEE ALSO
532+.\" libarchive
533+.Xr tar 5 ,
534+.\" man-pages
535+.Xr symlink 7 ,
536+.Xr rmt 8
537+.Sh HISTORY
538+The
539+.Nm tar
540+command appeared in
541+.At v7 .
542+.Sh BUGS
543+The GNU folks, in general, abhor man pages, and create info documents instead.
544+Unfortunately, the info document describing tar is licensed under the GFDL with
545+invariant cover texts, which makes it impossible to include any text
546+from that document in this man page.
547+Most of the text in this document was automatically extracted from the usage
548+text in the source.
549+It may not completely describe all features of the program.
Note: See TracBrowser for help on using the repository browser.