summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-04 23:29:38 +0000
committerpeter <peter@FreeBSD.org>1996-10-04 23:29:38 +0000
commit8b748f91150d2c03c335842d8c4f043f382da515 (patch)
tree1995f025cdf73f7994e809a0438762b663529bbe /usr.bin/hexdump
parent7f1fa642082270ef954babd1f466a929437a714a (diff)
downloadFreeBSD-src-8b748f91150d2c03c335842d8c4f043f382da515.zip
FreeBSD-src-8b748f91150d2c03c335842d8c4f043f382da515.tar.gz
Fix the previous commit. The second of the 8-character columns was
a duplicate of the first column of 8...
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/hexsyntax.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/hexdump/hexsyntax.c b/usr.bin/hexdump/hexsyntax.c
index e3bca0bc..e03804d 100644
--- a/usr.bin/hexdump/hexsyntax.c
+++ b/usr.bin/hexdump/hexsyntax.c
@@ -60,8 +60,7 @@ newsyntax(argc, argvp)
strcmp(p, "hd") == 0) {
/* "Canonical" format, implies -C. */
add("\"%08.8_Ax\n\"");
- add("\"%08.8_ax \" 8/1 \"%02x \" \" \"");
- add(" 8/1 \"%02x \" ");
+ add("\"%08.8_ax \" 8/1 \"%02x \" \" \" 8/1 \"%02x \" ");
add("\" |\" 16/1 \"%_p\" \"|\\n\"");
}
while ((ch = getopt(argc, argv, "bcCde:f:n:os:vx")) != EOF)
@@ -76,8 +75,7 @@ newsyntax(argc, argvp)
break;
case 'C':
add("\"%08.8_Ax\n\"");
- add("\"%08.8_ax \" 8/1 \"%02x \" \" \"");
- add(" 8/1 \"%02x \" ");
+ add("\"%08.8_ax \" 8/1 \"%02x \" \" \" 8/1 \"%02x \" ");
add("\" |\" 16/1 \"%_p\" \"|\\n\"");
break;
case 'd':
OpenPOWER on IntegriCloud