summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Collapse)Author
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-07-17Add a safe_print() function that uses vis(3) if output is a tty.Todd C. Miller
Uses the vis C-style mode which is consistent with what GNU tar does (though GNU tar does vis(3) regardless of whether output is a tty). It may make sense to add a flag to force vis(3)ification like ls does but I have not done that here as I'm reticent to add more flags.
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-04Eat backslashes in regex's so things like:Todd C. Miller
-s '/\/bin\/cat/\/bin\/dog/' work. This means we have to be a bit more clever in finding the pattern delimeters (ie: not strchr).
2001-07-04Fix -s option, which never worked. We need to pass in the input stringTodd C. Miller
to resub() so we can copy the non-matching portion of the string to the destination. Closes PR #1889
2001-06-26really use strlcpy.lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t.
2001-05-19Use an explicit memcpy() to copy a stat struct. Fixes a mysteriousTodd C. Miller
Memory fault on my hp300 boxes. This is more than a little worrisome (and it doesn't show up on i386). The problem may actually be related to struct alignment and the recent fts struct changes.
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-05-11add rcs tagsMichael Shalayeff
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-02-12don't use long usernames by default; ok deraadt@Dan Harnett
2001-02-10Replace -T flag with more standard -I flag and make it work as a standardTodd C. Miller
argument (and thus work as in the 'packed' option form) as well as a positional argument. Our -T flag was basically equivalent to -I but different from gnutar's -T so -T gets thrown out.
2001-02-09another typoTodd C. Miller
2001-02-09no need to revert a change that just fixed a typoTodd C. Miller
2001-02-09Revert broken fix, until a correct fix is written.Marc Espie
Breaking all ports like that is not acceptable.
2001-02-07Fix -T option and add support for -C option in the file pointed toTodd C. Miller
by -T ala GNU tar. Based on a patch from woods@proven.weird.com; Closes PR #1664
2001-02-07Honor TMPDIR environment variable and document the fact.Todd C. Miller
2001-02-05improve usageTheo de Raadt
2001-02-05fix SYNOPSIS line; extra -Theo de Raadt
2001-01-04spellingTodd T. Fries
2000-11-10Use .Nm instead of spelling out "cpio".Aaron Campbell
2000-11-09- Some section shuffling: conform to the standard order documented in mdoc(7)Aaron Campbell
- .Sh AUTHOR -> .Sh AUTHORS
2000-11-09Insert some missing commas.Aaron Campbell
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-11-09typo, inspired by deraadt@Niels Provos
2000-11-08- Get rid of ".Sh OPTIONS" and always use the standard options list intro.Aaron Campbell
- Move some BUGS/CAVEATS to the end of the man pages where they should go. - Correct some .Nm usage.
2000-10-18remention -TEric Jackson
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-10-07remove non-existant T optionEric Jackson
2000-06-09Some minor cleanup, ok'd millert@Marc Espie
- remove zflag variable, since gzip_program is enough to know what's going on. - fix ar_gzip call to not depend on global variables. Avoid bogus act checks, avoid calling if fd == -1. - do gzip check for append as early as possible. - remove old K&R prototype when updating.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
2000-03-17Remove hard sentence breaks.Aaron Campbell
2000-03-14Suffix "i.e." and "e.g." with a comma. Just another really picky man pageAaron Campbell
commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be ↵Theo de Raadt
done later.. contact me if you want to help)
2000-01-21Work with files larger than 2 Gb; from NetBSD change by mycroft@netbsd.orgThorsten Lockert
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-08-09if verbose, fflush() appropriately before printing warnings to stderrPaul Janzen
1999-08-04Kill gzip subprocess correctly instead of letting it get a SIGPIPE whenMarc Espie
using pax -n to list/extract.
1999-07-28Add -T support, ala GNU-tar.Marc Espie
1999-07-27fgetln does not allocate memory, pax tree functions don't allocateMarc Espie
memory... but someone HAS to.
1999-07-06-w writes files to the standard output, not standard input; d@Aaron Campbell
1999-07-04New: tar -q option (for quick)Marc Espie
same as pax -n. Useful for packages.
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-06-03use the hyphenated form "command-line" in the case of a compound adjective;Aaron Campbell
pjanzen@
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com