summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-07-16Produce correct output if the options include "-o". Remove umaskOtto Moerbeek
juggling that is no longer needed. ok millert@ henning@
2003-07-16anotherHenning Brauer
2003-07-15can't use err after vfork. ok millertTed Unangst
2003-07-15Fix line ranges for unidiffs. Problem noted by otto@Todd C. Miller
2003-07-15stop using libcom_err, it is built into krb5Theo de Raadt
2003-07-15Don't compress a file that already has a known compression prefix.Todd C. Miller
This matches GNU gzip behavior.
2003-07-15- .Ql Li -> .Ql (Ql already provides literal font)Jason McIntyre
- remove a .Pp
2003-07-15.Ql Fl -> .Sq Fl where literal doesn't make sense;Jason McIntyre
2003-07-14range-check numeric arguments (-num, -A num, -B num)Todd C. Miller
2003-07-14Improved (and cleaner) suffix handling code. Now "gunzip foo.tgz"Todd C. Miller
works as expected. mickey@ OK
2003-07-14-t and implied -c due to piped in input is a legal combination of flagsMichael Shalayeff
2003-07-14knfTheo de Raadt
2003-07-14Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, ↵Magnus Holmberg
David Krause, ...
2003-07-14- .Cm Fl -> .FlJason McIntyre
- fix list width
2003-07-14remove unused Cm;Jason McIntyre
2003-07-14fix the width of lists;Jason McIntyre
2003-07-14- Dv Ta -> Ta DvJason McIntyre
- kill a .br
2003-07-14remove undocumented -V option. would be only useful if openssh is usedMarkus Friedl
as ssh v1 server for ssh.com's ssh v2.
2003-07-14- .Ql -> .Sq where literal doesn't make senseJason McIntyre
- fix the width specifiers in lists/displays - change the for loop into a display for better formatting ok espie@
2003-07-14remove some old groff macros;Jason McIntyre
2003-07-14- escape %{B,D,P} to prevent groff trying to expand themJason McIntyre
- remove some unnecessary .Pp's
2003-07-14.Ic Nm -> .IcJason McIntyre
2003-07-14- fix a displayJason McIntyre
- escape dashes - remove extra bracket
2003-07-14typo in comment. ok henning@Otto Moerbeek
2003-07-14toast this piece of junkTheo de Raadt
2003-07-13fix a list;Jason McIntyre
2003-07-13Cm Ar -> ArJason McIntyre
2003-07-13.Or -> .OpJason McIntyre
2003-07-13Small tweaks from jmc@Todd C. Miller
o correct filename for stdin o fix "the the" o remove width from dash list (unused) o -compact for FILES list
2003-07-13Install zdiff.1; noted by marc@Todd C. Miller
2003-07-12Add zdiffTodd C. Miller
2003-07-11No longer need to assume -g when reading from stdin.Todd C. Miller
2003-07-11Move magic number checking into main.c and make it work whenTodd C. Miller
decompressing from a pipe. Currently assumes that magic numbers are 2 bytes but this is relatively easy to change as needed in the future. Discussed w/ mickey@
2003-07-10sync usage with manpage, add missing -RMarkus Friedl
2003-07-10restore grep -v semantics, print lines that don't match any (mismatch all)Daniel Hartmeier
patterns. ok tedu@, millert@
2003-07-10grep should exit(2) on error, not exit(1) (1 means no matches found).Todd C. Miller
deraadt@ OK
2003-07-10knfTheo de Raadt
2003-07-10Fix parsing of -NUMBER. We now do things a digit at a time andTodd C. Miller
keep track of what the last char from getopt was as well as the previous value of optind so we know when a new number has started.
2003-07-10A matching diff3 from 32V w/ some UCB changes. I cleaned this up a bitTodd C. Miller
(KNF and -Wall) and rewrote the shell front-end.
2003-07-10the 2^(blocksize*2) rekeying limit is too expensive for 3DES,Markus Friedl
blowfish, etc, so enforce a 1GB limit for small blocksizes.
2003-07-10Prevent getopts from interpreting +X as -X; avoid the need for a hack.Todd C. Miller
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-09Fix double free; eric jacksonTodd C. Miller
2003-07-09minor tweak: when generating the hex fingerprint, give strlcat the full ↵Anil Madhavapeddy
bound to the buffer, and add a comment below explaining why the zero-termination is one less than the bound. markus@ ok
2003-07-09protosTheo de Raadt
2003-07-09ans, knf, err and spacesMichael Shalayeff
2003-07-09Unlink temp file as soon as it is opened and return a FILE * forTodd C. Miller
it so we don't have to worry about cleanup. This means the quit() signal handler and error/errorx can go away too. Move splice() out of diffreg() and into diff.c where it belongs since we don't want to be calling splice() for a directory diff. Add a check for mismatched paths (one file, one dir) in diffreg.c. deraadt@ OK
2003-07-09Re-implement -l flag; diff -l now works correctly in non-directoryTodd C. Miller
mode (like GNU diff).
2003-07-08fix pasto in last commitTodd C. Miller
2003-07-08o Avoid a temp file if using stdin and stdin is redirected from a regular fileTodd C. Miller
o Fix a double free in the temmp file case