From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18903 invoked by alias); 7 May 2012 14:30:34 -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: 17059 Received: (qmail 28526 invoked from network); 7 May 2012 14:30:22 -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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bunkus.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunkus.org; s=mail201203; t=1336400678; bh=Zvd4AODxjJyYGRSjuTVHnUJFvi4Wy85uJ+BJQXA2JnA=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type; b=hJzdZ2v7i8ouqxeKWVcbjD8cR6RXm4TB/jWWLxe62krXhcR5cyEzSwShcpSHKA3HW mbFJUrR/mcVzCFQrjl6edW7bLLufnMSZHa6DY6SmEbmc0rzYlkq2jFNQ+uPimvuVq9 48gbekZachli9MM4va1ywyiafR/rAJmzy1E7EHmU= MIME-Version: 1.0 In-Reply-To: <120507071434.ZM10459@torch.brasslantern.com> References: <20120507084141.GA8366@lohen.blott-online.com> <120507071434.ZM10459@torch.brasslantern.com> Date: Mon, 7 May 2012 16:24:36 +0200 Message-ID: Subject: Re: zargs: unexpected, non-xargs behaviour From: Moritz Bunkus To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hey, On Mon, May 7, 2012 at 4:14 PM, Bart Schaefer wrote: > In the comments in the zargs function file: Well, then zargs is not POSIX compliant if I read http://pubs.opengroup.org/onlinepubs/000095399/utilities/xargs.html right as the POSIX documentation does not mention aborting if there are more than "-n arg" arguments in total. On the contrary, it talks about using fewer than "arg" if there are less _during the last iteration_. Kind regards, mo