* Error after invoking "man grep" (locale-dependent)
@ 2017-03-24 15:54 Andrey ``Bass'' Shcheglov
0 siblings, 0 replies; only message in thread
From: Andrey ``Bass'' Shcheglov @ 2017-03-24 15:54 UTC (permalink / raw)
To: cygwin
[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]
Hello,
I observe the following error message after exiting the pager (less) for
"man grep":
> man: command exited with status 127: iconv -c -f UTF-8 -t CP1251//TRANSLIT | col -b -p -x | sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'
The easiest way to reproduce this is to run
> man grep >/dev/null
in a ru_RU.CP1251 environment:
> $ locale
> LANG=ru_RU.CP1251
> LC_CTYPE="ru_RU.CP1251"
> LC_NUMERIC="ru_RU.CP1251"
> LC_TIME="ru_RU.CP1251"
> LC_COLLATE="ru_RU.CP1251"
> LC_MONETARY="ru_RU.CP1251"
> LC_MESSAGES="C"
> LC_ALL=
The same for en_US locale:
> man: command exited with status 127: iconv -c -f UTF-8 -t ISO-8859-1//TRANSLIT | col -b -p -x | sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'
The issue is not reproducible in UTF-8 locales.
grep(1) seems to be the only manual page affected.
Regards,
Andrey.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-24 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 15:54 Error after invoking "man grep" (locale-dependent) Andrey ``Bass'' Shcheglov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).