"Howland Craig D (Craig)" <[EMAIL PROTECTED]> wrote:
>      When using od with output formats of 1 or 2 bytes, the printed
> output
> can be wrong, particularly--but not exclusively--with non-printing

Thank you for the report.

However, that is standard and required behavior.
To turn it off, use -v (aka --output-duplicates).

    $ printf abbbc |od -aAn -w1
       a
       b
    *
       c
    $ printf abbbc |od -vaAn -w1
       a
       b
       b
       b
       c

>From  "info coreutils od"

    `-v'
    `--output-duplicates'
         Output consecutive lines that are identical.  By default, when two
         or more consecutive output lines would be identical, `od' outputs
         only the first line, and puts just an asterisk on the following
         line to indicate the elision.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to