summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump
AgeCommit message (Collapse)Author
2010-03-23Add POSIX -A option to od and simplify a bit. From FreeBSD.Federico G. Schwindt
jmc@ and millert@ input and ok.
2010-02-25The correct value of DEL is 0x7F, not 0xFF. This is purely a documentationChristian Weisgerber
issue--od(1) and hexdump(1) behave as expected. From FreeBSD.
2009-11-12Use the default 4 correctly if no type size is given to od -t.Nicholas Marriott
ok deraadt miod
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30some i missed...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-02-07its four-byte, not four byte; ok jmc@Otto Moerbeek
2007-02-07space before punctuation;Jason McIntyre
2007-02-06document -D; ok jmc@Otto Moerbeek
2007-02-06remove a comment which is no longer true; ok ottoJason McIntyre
2007-02-06sync synopsis and usage();Jason McIntyre
2007-02-06+.Ex -std odJason McIntyre
2007-02-06sort options and sync usage();Jason McIntyre
2007-02-06switch to .Ex and remove some unnecessary brackets;Jason McIntyre
2007-02-06fix some dodgy displays;Jason McIntyre
2007-01-28Accept a leading 0x for the -n length parameter.Miod Vallat
Correctly check for out-of-bounds values for -s skip parameter, and use strtoll to parse it instead of strtol since this is an off_t value.
2007-01-28In doskip(), do not access an uninitialized variable in the statok == 0 caseMiod Vallat
(introduced in r1.9)
2006-08-23Remove line length limit when reading format strings from a file.Ray Lai
Fixes PR 5208. Problem reported and fix tested by jared rr spiegel <jrrs at hklocal dot nodeless dot net>. OK weingart@ and millert@.
2006-03-16clean up the od(1) usage form, it was ugly with a capital uTheo de Raadt
2005-08-18Oops, previous fix would prevent standard input from being processed at allMiod Vallat
since it is not stat(2)'ed; spotted by fgs@, better fix by tom@
2005-08-16Do not consider there is a file to process when stat(2) fails; gets rid ofMiod Vallat
spurious error messages. ok deraadt@ millert@ pedro@ tdeval@
2004-11-21Fix some core dumps on malformed format strings. From KAMADA Ken'ichiOtto Moerbeek
in NetBSD PR 28157 with extras, joint work with pat@. ok pat@ deraadt@
2004-09-14use __inline instead of inline (for portability)Theo de Raadt
2004-07-21Use fseeko, not fseek when offset is an off_t; Fabio Olive LeiteTodd C. Miller
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-06-12de-register and ansification; millert okTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-05simple strcpy replacement; miod okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-01-06C-style; jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-06wrong word; jmc@prioris.mini.pw.edu.plTheo de Raadt
2002-04-08Correct usage() for od syntax; Peter StrombergTodd C. Miller
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-30Changes come from NetBSD, Lite-2 and me. ok deraadtPeter Valchev
od(1): - Enable support for printing 8-byte integers. - Added -C option for hexadecimal+ASCII display. - Fix od so it displays short files containing nulls. - POSIXification: The C, S, I and L modifiers now behave correctly, specifying output in units of a char, short, int and long (as defined by the host system) respectively. Support -N, equivalent to hexdump's -n (format only COUNT bytes of input). Add -j option which does the same thing as -s in hexdump (skipping some of the input). hexdump(1): - POSIX.2 doesn't specify hexdump so it can't be compatible with it... - add missing trailing \n in usage() printf
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-02replace fprintf(stderr)/exit w/ err/warnMichael Shalayeff
2001-09-30-Wall cleanup; ok deraadtPeter Valchev
2001-07-18-Wall cleanupPeter Valchev
2001-07-12first pass at a -Wall cleanupTheo de Raadt
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-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-07Various cleanup.Aaron Campbell
1999-07-21sync names of arguments in SYNOPSIS with those in the option's descriptionAaron Campbell
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.