From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3084 invoked by alias); 16 May 2018 04:18:53 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42783 Received: (qmail 2845 invoked by uid 1010); 16 May 2018 04:18:52 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot0-f173.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(74.125.82.173):SA:0(-1.9/5.0):. Processed in 3.219191 secs); 16 May 2018 04:18:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=oiUUNytYuXQOYN8l58dJkQqkaHDAHGagMtKyLqEvziI=; b=ZI3HQ6pfi8c+ge2HFTf9u7Rngz5eoAd22MgtavpF0F9oR1PDsGjlbTjXanNCHR811Z VZl3euQaGxIoXv3eaSeeoa6TuWnjBzS6PO6tUMgeGhC69j/QIehNiUzzscWBDhjGomMp dYsgSvWUAMRdqX9Igdo3cKiqSYwP0xzu3cxWFSd3aiC/e2YSht+3h25b5M6DmaDjvB82 LnEVjzIuyfARiVEJ1tk5hgAFfsCPgmzdOMQrMFhjy/Wwe5OOe7h980Eno+mwL9HxgUbf z5Z/UKHlPJRMOeyW569f8/Q9FCePPYEcX6mrmoIam22S8bCzU2phaoiSnS4vfXRDDEca gtaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=oiUUNytYuXQOYN8l58dJkQqkaHDAHGagMtKyLqEvziI=; b=K3FWfLAdl/pWMZmujxQB3HjP+2h1Gp4UxTAnQsO4/tdKrRtinR0go0V1bdHDMbA2Yh T+aCndJPcgKWejEqAWHUUlbXBUlDvJLoN/7Wak7J4FS5vIdm58wBA6IuSmmyreXE9jox XcaxS/dmP1SIQsM6Pyj8GFLjkxdMThlb9hUUhWmrTURIPm2eiqT2WCtZTrp1oHY4uxCU TEP3G7oM6Irxkpnb29G1Ubv/S4mvbH9QBYiyHwgAuxvR4QShnParijO8JTKSUc6PVydT taFUCLmvje8jiH8oa32yNp9lisvraf+ZPf+WCAxXdoEdZC5po9VVxO9tjevretF8EwNP dYIg== X-Gm-Message-State: ALKqPwd0l5egWd0+mKMxSXbE3qUG+peQh+0yW+HYCeCvltbYW7L313Rs 2KwCjSMvHu9TozzpKhoPjhxR2K7c6ursX6NT760= X-Google-Smtp-Source: AB8JxZqD48lIgL7saOlV5rPvD/yitSz6gXn4gLE4hAGrwZWNVh6SbTTk3k9zzZ2BTfnRPtccDGzgziUXRA88SneTuW8= X-Received: by 2002:a9d:7453:: with SMTP id p19-v6mr13531386otk.348.1526444325585; Tue, 15 May 2018 21:18:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180515181212.GA13171@chaz.gmail.com> References: <20180514064431.GB7263@chaz.gmail.com> <20180514094733.308bff1a@camnpupstephen.cam.scsc.local> <20180514123425.GA19631@chaz.gmail.com> <20180514145056.3eedaea9@camnpupstephen.cam.scsc.local> <20180514155131.GC7263@chaz.gmail.com> <20180514195214.6lunkmugxwcatm7y@Daniels-MacBook-Air.local> <20180514204228.GB19631@chaz.gmail.com> <20180515181212.GA13171@chaz.gmail.com> From: Sebastian Gniazdowski Date: Wed, 16 May 2018 06:18:25 +0200 Message-ID: Subject: Re: [PATCH] [[:blank:]] only matches on SPC and TAB To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On 15 May 2018 at 20:12, Stephane Chazelas wrote: > Note that by some reading of the spec, and bash and yash have > made such readings, when the spec says tokens are delimited by > blanks, that's any blank in the locale. > > $ yash -c $'echo\u2006test' > test > > In the case of bash, that only works "properly" with single-byte > characters. Doing some more or less bizarre coding, this allows to hide information in the command line. Assuming script has access to full command text (e.g. $jobtexts), it can check which argument is prepended with e.g. non-breaking space(s), and which with regular space(s). Zshell would behave as if there's no difference, while script could decide on something, e.g. that nbs-prepended argument is a fifo not a regular file, and some custom function show_jobs_status() could show fifos in different color. Just doing deep-implications survey, if e.g. SQL designers would do this properly, there wouldn't be so many flavors of SQL today. -- Best regards, Sebastian Gniazdowski