Hello, Here is a patch to enable two new options for od, --source-byte-order and --force-byte-swap.
--source-byte-order=foo tells od to carry out end-to-end swap on each output block when the source byte order, as indicated by the argument of the option, differs from the host byte order, as indicated by __BYTE_ORDER in endian.h. od recognizes lsb and msb as source byte order specifications. --force-byte-swap tells od to carry out end-to-end byte swap (unconditionally). I'll be happy to write some Texinfo documentation and whatever else is needed if it seems like this is going to fly. Thanks in advance for your comments. Robert Dodier
od.c-byte-order-patch
Description: Binary data
_______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils