From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id e9e12243 for ; Wed, 27 Nov 2019 14:56:07 +0000 (UTC) Received: (qmail 19447 invoked by alias); 27 Nov 2019 14:56:04 -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: List-Unsubscribe: X-Seq: 24466 Received: (qmail 5992 invoked by uid 1010); 27 Nov 2019 14:56:04 -0000 X-Qmail-Scanner-Diagnostics: from aurora-borealis.phear.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25642. spamassassin: 3.4.2. Clear:RC:0(94.242.205.164):SA:0(-2.0/5.0):. Processed in 4.22124 secs); 27 Nov 2019 14:56:04 -0000 X-Envelope-From: eiro@phear.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at phear.org designates 94.242.205.164 as permitted sender) X-Virus-Scanned: amavisd-new at phear.org DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org D84E211E5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1574864301; bh=aeNzCbZ1s3wXmFykPBR5JbRwobS5sLoGf1dwrSaR36I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tiLMcAVX7Tlxh6BtDIfpbnPdrFk69LYl40iPb2PUjuam9IAH9SOJxRZkxTShgEsLs 2zMCliIiLjOCt5BXNIjF0TtNUatH48VbrjWkQfhYqg2a01RLyZG0p1hQfEkI7DK0r6 VCf3L76Ch0kaM0LlqGl4QOZ+9I1c1BDEcUv3nsNcK5PedTUNmsFxR7OfNhEFMlFy+L 1y2P0lH7kpJZ7BHxgiHF2n/fvAgjBy+uGwbHhx3At4EpTn3UVdrpjFE0UooGcE8sqH w7bzvkOLwqRfe2HTvXBSb95vPGKl4d9XmHOzB1ci7qD64ufURGCjhHJcrTwzx1eDMk TYbeS93WbsVew== Date: Wed, 27 Nov 2019 15:18:20 +0100 From: Marc Chantreux To: Perry Smith Cc: Marc Chantreux , Zsh Users Subject: Re: (0) not working ? Message-ID: <20191127141820.GA22743@prometheus.u-strasbg.fr> References: <20191127130038.GA19354@prometheus.u-strasbg.fr> <7C08CB02-19E7-49BA-A511-3239B2ABD614@easesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7C08CB02-19E7-49BA-A511-3239B2ABD614@easesoftware.com> User-Agent: Mutt/1.10.1 (2018-07-13) hello Perry, > I’m very new here so take what I say with caution but why > did you put the backslash before the 0? if you use xxd: echo -n 0 $'\0'|xxd you can see that 0 is the symbol 0x30 (48th of the ascii table) when \0 is 00. \0 is non-sense in a legit text stream so it can be used as a separator instead of all those separators that can exist in text ( "\n", ",", ":" " ", "\t"). see xargs -0, find -print0, ... regards marc