X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:reply-to:from:subject:message-id:date :mime-version:content-type; q=dns; s=default; b=afSl5Bx8SGgCCHBI tmuUnomgEm6T8oBREy7wx/kv0fEjKaMPVW4e5ZUZj5I993/LC9d8bwItfJp3mKVP j9Ejq6BsaXutkrNQpkakIr4MDOPgQyfWJq/DIiQMfrz0i1Hw59BHZtSLTnQoybKV Kg1Vy9Coouf2qmaX/8EnGnNQTOk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:reply-to:from:subject:message-id:date :mime-version:content-type; s=default; bh=4ltQsraMAfEY0h9gqA4o32 pDQq4=; b=e7+ItIykDE/zB/yoo9NeRKsMOOdN8+x8ET2H8BaW5QTScphuztv52N 3ysOSCNWssq337pVLLfGY80ylPl9oSGttHKtpm9DxhSrpT8b36Z1E4CLcCK4k21l cULS3CWm8xIErnWcWmpP5MwP51BA6VDNAxWUvZcQLSUbyejEhvWJI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=ISO-8859-1, ISO88591, H*UA:6.3, col X-HELO: mail-lf0-f51.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:reply-to:from:subject:organization:message-id :date:user-agent:mime-version; bh=nHuEJ7A2FSPqZ+eoMBCQT44Puh7Tkkr5TD/OKUN8TEI=; b=EDgLdEIQpWChteMGku2e1NQsOnY2/GsceZV5awnoDYCgsc8iZ/bJgfjwVrkFiAPmNw CEe0it4TAgTPUVtCC8P4E+y9yLKLbXnhnfQiK6/T9Ewcrow6RQ/RyRCyzi69WwfXZ1Wm L3TSmQo1sjMaJnU8U8udjO3ZKJbiBieZJenYyK3i0sOV+WoCALk7o4qTu6wRHbTr0vNv WmjiE6wCCIY94qkoiRNFt1ZteV0FGMo6mTLMhUFq/7mxW9UbR28j8/+pZ1xThjnI6+tb IqT8Q+r1qH7LY8gCBKbesmQmNnX9PN/i9t/lDxSbMxq7k6W/0b9EwY8NgJkyUDoZacJk 29uQ== X-Gm-Message-State: AFeK/H2xVZ8kHgLJOBTBAhnLvWsq82u3eQa3q0T5whpYidGGCFr8Z7y8l6qra5LAJOAs6g== X-Received: by 10.25.56.1 with SMTP id f1mr4668500lfa.83.1490363151906; Fri, 24 Mar 2017 06:45:51 -0700 (PDT) To: cygwin AT cygwin DOT com Reply-To: andrewbass AT gmail DOT com From: "Andrey ``Bass'' Shcheglov" Subject: Error after invoking "man grep" (locale-dependent) Message-ID: <58D5230D.6070305@gmail.com> Date: Fri, 24 Mar 2017 16:45:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DtDgqrrf9fK8GItxKJo2MFAKrobG12o1H" X-IsSubscribed: yes --DtDgqrrf9fK8GItxKJo2MFAKrobG12o1H Content-Type: multipart/mixed; boundary="L9nDHLHwbEl9kujm61gSgOJwNRA8xwC0C" From: Andrey ``Bass'' Shcheglov Reply-To: andrewbass AT gmail DOT com To: cygwin AT cygwin DOT com Message-ID: <58D5230D DOT 6070305 AT gmail DOT com> Subject: Error after invoking "man grep" (locale-dependent) --L9nDHLHwbEl9kujm61gSgOJwNRA8xwC0C Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 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//TRANSLI= T | 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=3Dru_RU.CP1251 > LC_CTYPE=3D"ru_RU.CP1251" > LC_NUMERIC=3D"ru_RU.CP1251" > LC_TIME=3D"ru_RU.CP1251" > LC_COLLATE=3D"ru_RU.CP1251" > LC_MONETARY=3D"ru_RU.CP1251" > LC_MESSAGES=3D"C" > LC_ALL=3D The same for en_US locale: > man: command exited with status 127: iconv -c -f UTF-8 -t ISO-8859-1//TRA= NSLIT | col -b -p -x | sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:spac= e:]]*$/D; }' The issue is not reproducible in UTF-8 locales. grep(1) seems to be the only manual page affected. Regards, Andrey. --L9nDHLHwbEl9kujm61gSgOJwNRA8xwC0C-- --DtDgqrrf9fK8GItxKJo2MFAKrobG12o1H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAljVIw4ACgkQFX2weoTrDGdgDgCgsK+yQQ5OREnMOlQt0tSOueIb oRoAoKqwpI8vom2Qj+WUILW5XalHcDId =JQiS -----END PGP SIGNATURE----- --DtDgqrrf9fK8GItxKJo2MFAKrobG12o1H--