Hi Norm,

> The problem was that, for reasons I do not remember, Chart.pj had
> Microsoft line endings and your "blanks", above includes '\r', and
> probably other white space. Confession: It took me an hour to figure
> that out.

Useful ways to look for odd bytes in a file ./foo.  One approach is to
delete what you think is valid and see what's left.

    tr -d '\012 -~' <foo | od -c

Or look at their frequencies.

    $ tr -d '\012 -~' <foo | hexdump -ve '/1 "%02x\n"' | sort | uniq -c
      2 0d
      1 a3
      1 c2
    $

`cat -A' can also be helpful.

If you're having trouble tracking down the precise location then ask
grep for byte offsets.

    LC_ALL=C grep -Eboa '[^ -~]+' foo | cat -A

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to