summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump/hexsyntax.c
Commit message (Collapse)AuthorAgeFilesLines
* File positions are off_t nowdays, not long, so:ache2001-09-011-1/+1
| | | | | | | | | | strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use err(3) instead of local redefinition, incorporate `hd' in usage str.charnier1997-07-101-4/+12
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-1/+3
|
* Fix the previous commit. The second of the 8-character columns waspeter1996-10-041-4/+2
| | | | a duplicate of the first column of 8...
* Now that we've already got "hexdump -C", make calling the command "hd"joerg1996-09-291-3/+12
| | | | | | | | | | | having the same effect, and install a link for this. There is historic precedence for the command hd(1) (with roughly that output format) in Xenix, SCO, and a few SysV's that tooks the idea. Also, added a couple of spaces to the -C format to make the output better readable. Ok'ed by: phk
* Add '-C' "Canonical" format to hexdump:phk1996-09-161-1/+6
| | | | | | | $ hexdump -C /etc/resolv.conf 00000000 64 6f 6d 61 69 6e 20 64 6b 2e 74 66 73 2e 63 6f |domain dk.tfs.co| 00000010 6d 0a 6e 61 6d 65 73 65 72 76 65 72 20 31 34 30 |m.nameserver 140| 00000020 2e 31 34 35 2e 32 33 30 2e 31 30 0a |.145.230.10.|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+127
OpenPOWER on IntegriCloud