|
From: | Ed Avis |
Subject: | od -t a to warn for non-ASCII |
Date: | Tue, 31 Jan 2006 17:12:53 +0000 (GMT) |
I suggest that when 'od -t a' encounters the first high-bit-set character in the input it should print a warning that the bit is being ignored, and that if you have input files that might not be pure ASCII then 'od -t c' might be a better choice. This warning could be disabled when POSIXLY_CORRECT is set.
If you don't want to do that, please update the help text and info documentation to make it clear that the 'a' format maps high-bit-set characters onto the same output as ASCII, and so probably isn't what you want if you are trying to see what characters a byte stream contains.
-- Ed Avis <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |