Commit Graph

15 Commits

Author SHA1 Message Date
bjh21 41a2a8aac2 WARNS=2 2001-12-07 15:14:29 +00:00
bjh21 0a1ce99f56 Further POSIX progress: 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.  This made the POSIX -t code more than complicated
enough to merit its own function, so I did that.
2001-12-07 01:23:42 +00:00
bjh21 94f69635b1 Further POSIXification: od now supports -N, which is equivalent to hexdump's
-n (format only COUNT bytes of input).
2001-12-05 18:07:50 +00:00
bjh21 a4b50871cb Add a -j option to od, which does the same as the -s option to
hexdump (skipping some of the input).  This brings our od slightly
closer to POSIX.2 conformance.
2001-12-05 17:46:15 +00:00
christos 74f15d98d3 PR/12147: TheMan: add -t option to od. 2001-02-07 18:32:21 +00:00
christos 9794a7e065 char -> unsigned char 1998-12-19 16:37:28 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
lukem c6810a0286 WARNSify, fix .Nm usage, deprecate register 1997-10-19 02:34:02 +00:00
mrg 7397398466 merge lite-2. 1997-10-18 13:53:56 +00:00
mikel 769693f903 add explicit return types to many functions
pull global variable declarations and function prototypes into hexdump.h
add #includes where necessary for prototypes
replace index() with strchr(), const-poison static string vars, etc.
1997-07-11 06:28:26 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft 21f39729d7 Previous patch was incorrect. 1993-05-04 05:50:21 +00:00
sef 35127652d7 Fix a NULL-dereferencing, that caused a segfault with QMAGIC (yay). 1993-05-03 20:51:56 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00