From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21910 invoked by alias); 31 Oct 2012 13:57:41 -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: 17364 Received: (qmail 410 invoked from network); 31 Oct 2012 13:57:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at linux.vnet.ibm.com does not designate permitted sender hosts) Date: Wed, 31 Oct 2012 21:40:07 +0800 From: Han Pingtian To: zsh-user Subject: question about zargs Message-ID: <20121031134007.GA9731@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12103113-7182-0000-0000-000003003875 Hello, I just learnt that there is a function 'zargs' which just like 'xargs'. So why we need the 'zargs' as we have 'xargs' already? As a example, this works just fine with 'xargs': % print -N **/* | xargs -n1 -0 ls But this one will cause "(eval):2: fork failed: cannot allocate memory" error on my laptop: % zargs **/* -- ls Thanks in advance.