From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25296 invoked from network); 24 Jul 2004 11:26:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Jul 2004 11:26:44 -0000 Received: (qmail 84433 invoked from network); 24 Jul 2004 11:26:38 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 11:26:38 -0000 Received: (qmail 2342 invoked by alias); 24 Jul 2004 11:25:54 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7757 Received: (qmail 2332 invoked from network); 24 Jul 2004 11:25:54 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 24 Jul 2004 11:25:54 -0000 Received: (qmail 82630 invoked from network); 24 Jul 2004 11:23:56 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 11:23:52 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.32) id 1BoKd5-0007se-H3; Sat, 24 Jul 2004 13:23:51 +0200 Date: Sat, 24 Jul 2004 13:23:51 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: zsh tips plea (tip of the day) Message-ID: <20040724112351.GW7828@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <4100F8E4.2090501@our-own.net> <593082B4-DCFB-11D8-8D29-000502631FBD@louisville.edu> <20040724072247.GS7828@ay.vinc17.org> <20040724035803.X326@willy_wonka> <20040724081048.GU7828@ay.vinc17.org> <20040724042714.H326@willy_wonka> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040724042714.H326@willy_wonka> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 On 2004-07-24 04:32:28 -0400, Atom 'Smasher' wrote: > i thought that's what xargs is for... > $ echo {1..30000} | xargs ls Except that * xargs may be insecure, unless the option -0 is used; * xargs can't always be used for every command; * this requires more things to type (not important for scripts, but this may be annoying when typing commands interactively). -- Vincent Lefèvre - Web: 100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17, Championnat International des Jeux Mathématiques et Logiques, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA