Aha!

>
> $ echo $LANG
> en_US.UTF-8
>
I get the same here.

> Note that the single quote is actually a multi-byte character.  nroff is
> formatting quotes based on what the shell reports the locale to be.
> Changing the locale to C:
>
> $ LANG=C man CGI 2>/dev/null | sed -n '/Simple Example/{p;q}' | od -c
>
> My guess is that your terminal is set to Latin-1 and your system assumes
> that it is UTF-8.  You could fix this, alias man="LANG=C man", or add
> "-T ascii" to the nroff command in /etc/man.config .

This works, but the option is actually -Tascii, it didn't like the space.

Thanks very much!

Joe
_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://machito.utacm.org/mailman/listinfo/siglinux

Reply via email to