From 9177f974dae07d5862a31cbcb064ebd5b3001f5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 22 Sep 1997 12:00:10 +0000 Subject: *** empty log message *** --- old/textutils/ChangeLog | 20 +++++++++++++++++++- old/textutils/NEWS | 11 +++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index fd07d5e41..05981642e 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,3 +1,21 @@ +1997-09-21 Jim Meyering + + * src/od.c [struct tspec] (hexl_mode_trailer): Rename from `trailer.' + (dump_hexl_mode_trailer): Rename from dump_string_trailer. + Use fputs and putchar instead of trivial or %-less printfs. + (decode_one_format): Parenthesize each field_width assignment in an + argument list to make the side effect a little more apparent. + (write_block): Use fputs and putchar instead of trivial or %-less + printfs. + (dump_strings): Cast string_min to off_t to avoid long-standing warning. + + * src/od.c: Implement new `z' (hexl-mode) modifier. + [struct tspec] (trailer): New field. + (field_width): Likewise. + (dump_string_trailer): New function. + (decode_one_format): Save each field_width in the tspec. + Patch from John Kodis. + 1997-09-14 Jim Meyering * src/od.c (main) [--traditional]: Don't give diagnostic about there @@ -1854,7 +1872,7 @@ Thu Sep 28 23:16:05 1995 Jim Meyering (meyering@comco.com) * Makefile.in (DISTFILES): Remove README.alpha for major release. * od.c (decode_one_format): Remove spurious semicolon. - From John Kodis (kodis@daacdev1.stx.com). + From John Kodis. Tue Sep 26 23:05:01 1995 Jim Meyering (meyering@comco.com) diff --git a/old/textutils/NEWS b/old/textutils/NEWS index 921ff5e23..4b976fe94 100644 --- a/old/textutils/NEWS +++ b/old/textutils/NEWS @@ -1,4 +1,15 @@ Changes in release 1.23 +* od supports a new trailing `z' character in a type specification: + $ od -tx1z . + 0000000 be ef c6 0f fd f9 d7 e0 ec cb f3 c6 00 db e8 00 >................< + 0000020 00 00 d2 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< + 0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................< + * + 0000600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 cc >..............5.< + 0000620 05 63 76 74 2e 6f 00 00 29 ac 08 70 72 6f 6a 65 >.cvt.o..)..proje< + 0000640 63 74 73 00 00 00 18 9a 05 63 76 74 2e 63 00 00 >cts......cvt.c..< + 0000660 18 d9 03 52 43 53 00 00 18 c0 05 78 2e 64 61 74 >...RCS.....x.dat< + [1.22a] * sort -c reports both the number and the contents of the first out-of-order line, in addition to the file name. -- cgit v1.2.3-70-g09d2