From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6136 invoked from network); 12 Aug 2005 20:29:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Aug 2005 20:29:36 -0000 Received: (qmail 97773 invoked from network); 12 Aug 2005 20:29:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Aug 2005 20:29:30 -0000 Received: (qmail 22241 invoked by alias); 12 Aug 2005 20:29:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9308 Received: (qmail 22231 invoked from network); 12 Aug 2005 20:29:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Aug 2005 20:29:21 -0000 Received: (qmail 96699 invoked from network); 12 Aug 2005 20:29:21 -0000 Received: from jlefevre.net1.nerim.net (HELO ay.vinc17.org) (80.65.226.245) by a.mx.sunsite.dk with SMTP; 12 Aug 2005 20:29:16 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.52) id 1E3g9C-0004Wh-8o; Fri, 12 Aug 2005 22:28:58 +0200 Date: Fri, 12 Aug 2005 22:28:58 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: automatical xargs (or zargs) Message-ID: <20050812202857.GE11840@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.9-vl-20050809i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Is there a way to do the following? When globbing generates a line that is "too long" (configurable by the user), the command is automatically replaced by one using xargs or zargs. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA