From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7515 invoked by alias); 2 Jul 2015 09:24:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20298 Received: (qmail 26268 invoked from network); 2 Jul 2015 09:24:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dyne.org; s=mail; t=1435828678; bh=wG4LguGkJwQ82dBFJyrVg0NAxnv5sdul9wx2vdXJLBw=; h=Date:From:To:Subject:From; b=QAN8xMIzqjBiVNffcskg8zvLKdC0FEGJzaGSHDX4yTWRqOvpkBC4WT4TXj2xqU4PN 16YB2TLNq3FaMSjv+txDLp29dEL/bVl0wWqgyRvaCJyM8SUZhOEFLb6h5m1E1IEE4j 95gJOVW/cubcIQ+0inJBGyF4z4x9wPTzfyvYa5Q8= Date: Thu, 2 Jul 2015 11:17:52 +0200 From: Jaromil To: zsh-users@zsh.org Subject: non-breaking space hangs pipe Message-ID: <20150702091752.GB20209@fork> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline Organization: Dyne.org Free Software Foundry X-GPG-Keyserver: pgp.mit.edu X-GPG-Id: 4ACB7D10 [expires: 2018-09-05] X-GPG-Fingerprint: 6113 D89C A825 C5CE DD02 C872 73B3 5DA5 4ACB 7D10 User-Agent: Jaro Mail --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable dear zsh'ers in our ZSh made application Tomb we hit a bug that depends from a translation error in GPG and that could be solved along with any other similar situation by ZSh if some sort of "canonization" non-blocking-space (NBS) is made for the '=3D~' and perhaps other string operators. I think that handling the special case of NBS is particularly valuable for zsh script users since such bugs can be very hard to spot. Here the detail on our issue: https://github.com/dyne/Tomb/issues/205#issuecomment-117413673 as Arthaud indicates, this is easily replicable with [[ " X" =3D~ "X" ]] where the first character in " X" is a non-breaking space; this gets the zsh interpreter stuck and it seems not even Ctrl+C works. While I'll file also the bug about an NBS in the GnuPG French translation, I think is worth considering implementing approaches that will make ZSh act as one would expect in all such cases. ciao --=20 Denis "Jaromil" Roio, Dyne.org Think (& Do) Tank We are free to share code and we code to share freedom Web: https://j.dyne.org Contact: https://j.dyne.org/c.vcf GPG: 6113 D89C A825 C5CE DD02 C872 73B3 5DA5 4ACB 7D10 Confidential communications: https://keybase.io/jaromil --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQQcBAEBCAAGBQJVlQHAAAoJEHOzXaVKy30QK04f/A6m5qafwKginJiTtVn9qg1q aknfpJ2qS77fPIfHEhmNN4aOR0iOoZRK8dqJ0JB1upcztblY9xwFqjejYdtU4Z51 sPbHvm2h0AnLXohyveb1mEh/ErHSMjFYUoEG9wKRXFUvclUar4ixb9x9R3pcQ1dX 6/pmMQUJgd8CBnm4KQQsOzAcbkO0/9WFhsB92ohtGF3mgJ9/vvnRAqH5rTPRQJ9d 8uMAZzyfeX5PbOIsrdkZza/MSB58REtGGot/pcqsrnMkym8GFOFzzjgwxblVVTQW szkUq2EUqczEKgRITRQU2/WUZUIY/fcOF4m4QVsscmFIXyOAjkNucqPSxjMlIqA8 iwEpC8fUAz11LyfaT/5m059uNrWD3ur9GvTIx/+xmgWJClB7oTr2bKNpMmjOT7t4 7j+UWKyFyFDuEPPMl+ADLEkWe/ekb1eQlY/SnFn/sAyykXmI+33ASibiABGCEybd YE6Sp/anuXOfzgecNk2vNxa/2YanfXx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