diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-06 07:49:06 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-06 07:49:06 +0000 |
commit | d225526e38a807c3b4bf2bd012ea60f37443ef70 (patch) | |
tree | e5dd8cd6d2046e1804696d260d3c1474af8ddf93 | |
parent | 50df4a8518a3e1b9cfb4007accb7ca25463cede7 (diff) | |
download | coreutils-d225526e38a807c3b4bf2bd012ea60f37443ef70.tar.xz |
Several "od" changes for POSIX and FreeBSD compatibility.
-rw-r--r-- | NEWS | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -186,6 +186,28 @@ GNU coreutils NEWS -*- outline -*- The usual `--' operand is now supported by chroot, hostid, hostname, pwd, sync, and yes. + `od' now conforms to POSIX better, and is more compatible with BSD: + + The older syntax "od [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]" now works + even without --traditional. This is a change in behavior if there + are one or two operands and the last one begins with +, or if + there are two operands and the latter one begins with a digit. + For example, "od foo 10" and "od +10" now treat the last operand as + an offset, not as a file name. + + -h is no longer documented, and may be withdrawn in future versions. + Use -x or -t x2 instead. + + -i is now equivalent to -t dI (not -t d2), and + -l is now equivalent to -t dL (not -t d4). + + -s is now equivalent to -t d2. The old "-s[NUM]" or "-s NUM" + option has been renamed to "-S NUM". + + The default output format is now -t oS, not -t o2, i.e., short int + rather than two-byte int. This makes a difference only on hosts like + Cray systems where the C short int type requires more than two bytes. + The stat option --filesystem has been renamed to --file-system, for consistency with POSIX "file system" and with cp and du --one-file-system. |