CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/09/16 02:47:26
Modified files: usr.bin/hexdump: od.1 odsyntax.c Log message: Fix two bugs (at least 13 year old) of the [+]offset[.][Bb] XSI offset syntax: Make it work with decimal offsets and with standard input. Also fix the documentation; it showed the argument in the wrong place. According to XSI (and our code), it must come *after* the filename, and it can be used with at most one single filename. Remove it from the SYNOPSIS; it only provides a subset of -j, is less standard and contains lots of traps (i counted 7 distinct traps). Instead, mention it as an alternative below -j where it belongs. Also fix some markup quirks (that's what originally made me find this mess). Feedback and OK sobrado@ jmc@.