diff options
author | tjr <tjr@FreeBSD.org> | 2004-07-11 01:11:12 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-07-11 01:11:12 +0000 |
commit | 62e0e106969555262e171be41c927c4aee4837b9 (patch) | |
tree | 6d4f26416ae7246c1e3dab0c7a4b36833ce1aef6 /usr.bin/hexdump/od.1 | |
parent | 16416501a995d5e0bbb51ba0f371590d3dc0c00a (diff) | |
download | FreeBSD-src-62e0e106969555262e171be41c927c4aee4837b9.zip FreeBSD-src-62e0e106969555262e171be41c927c4aee4837b9.tar.gz |
Add POSIX-style support for multibyte characters to od(1): the 'c'
conversion interprets input bytes as multibyte sequences and displays
printable characters in the area corresponding to their first byte.
The remaining bytes are shown as "**".
Diffstat (limited to 'usr.bin/hexdump/od.1')
-rw-r--r-- | usr.bin/hexdump/od.1 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/usr.bin/hexdump/od.1 b/usr.bin/hexdump/od.1 index 225bdec..fb9eb77 100644 --- a/usr.bin/hexdump/od.1 +++ b/usr.bin/hexdump/od.1 @@ -32,7 +32,7 @@ .\" @(#)od.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd July 3, 2004 +.Dd July 11, 2004 .Os .Dt OD 1 .Sh NAME @@ -179,6 +179,10 @@ characters, which are represented as C escapes: .It vertical tab \ev .El +.Pp +Multi-byte characters are displayed in the area corresponding to the first +byte of the character. The remaining bytes are shown as +.Ql ** . .It Xo .Sm off .Op Cm d | o | u | x @@ -231,6 +235,15 @@ contain one line for each format. If no output format is specified, .Fl t Ar oS is assumed. +.Sh ENVIRONMENT +The +.Ev LANG , LC_ALL +and +.Ev LC_CTYPE +environment variables affect the execution of +.Nm +as described in +.Xr environ 7 . .Sh DIAGNOSTICS .Ex -std .Sh COMPATIBILITY @@ -252,7 +265,3 @@ An .Nm command appeared in .At v1 . -.Sh BUGS -The -.Nm -utility does not recognize multibyte characters. |