From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8924 invoked from network); 24 Jul 2004 17:51:01 -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 17:51:01 -0000 Received: (qmail 20781 invoked from network); 24 Jul 2004 17:50:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 17:50:53 -0000 Received: (qmail 24323 invoked by alias); 24 Jul 2004 17:50:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7761 Received: (qmail 24312 invoked from network); 24 Jul 2004 17:50:10 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 24 Jul 2004 17:50:10 -0000 Received: (qmail 19347 invoked from network); 24 Jul 2004 17:48:12 -0000 Received: from rso.suspicious.org (HELO research.suspicious.org) (69.55.224.62) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 17:48:10 -0000 Received: (qmail 11484 invoked by uid 1002); 24 Jul 2004 17:48:07 -0000 X-POM: The Moon is Waxing Crescent (46% of Full) Date: Sat, 24 Jul 2004 13:47:50 -0400 (EDT) From: Atom 'Smasher' To: zsh-users@sunsite.dk Subject: Re: zsh tips plea (tip of the day) In-Reply-To: <20040724112351.GW7828@ay.vinc17.org> Message-ID: <20040724133756.S326@willy_wonka> 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> <20040724112351.GW7828@ay.vinc17.org> X-OpenPGP-KeyID: 0xB88D52E4D9F57808 (4096-RSA) X-OpenPGP-Fingerprint: 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 X-OpenPGP-URL: http://smasher.suspicious.org/pgp.txt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_10 autolearn=no version=2.63 X-Spam-Hits: -0.9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sat, 24 Jul 2004, Vincent Lefevre wrote: > 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; ================ i consider that more of a bug-prevention option than i security option, although it certainly can have security related implications. > * xargs can't always be used for every command; ================ maybe... but it can do a lot more than most people think. like find, it's one of the more awkward and unintuitive commands. > * this requires more things to type (not important for scripts, > but this may be annoying when typing commands interactively). ================ i consider my command-line skills and scripting skills to reinforce each other, so i don't mind doing strange things (aka things i've never done before, or things that are hard to type) in one setting, because i will take that with me to the other setting. this last point is especially true with zsh, since it blows away all other shells at doing things on the command line spanning multiple lines. ...atom _________________________________________ PGP key - http://atom.smasher.org/pgp.txt 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 ------------------------------------------------- "I am committed to helping Ohio deliver its electoral votes to the president [Bush] next year" -- Walden O'Dell, CEO of Diebold August 2003 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.6 (FreeBSD) Comment: What is this gibberish? Comment: http://atom.smasher.org/links/#digital_signatures iQEcBAEBCAAGBQJBAqDLAAoJEAx/d+cTpVcil3oH/3KGraMUx6pIhZA9t2DTq6pG f7cJC/stCVdDuSO7PPvL2lOawJGSCRUIOlxe7irj/XD+LQEQgIe56Hq0DaYQEAdX i1M0TdpHWuOi93Im/Myh8+3aqTjT32DNvHmmuVj11bJxNH8v5XqZ7Ka3/TVdlhdk BCi5fDJeIfWLgkM9ohcW1Plax1ul6FcLL82tal1BfNcEExKvKDVWBJ7W5jqJBStq TyAJBeJKesJCGM7bRPLomx4LyaIYvpo1qqd2hxDWPZ5hYYmfRYyaHKy3Q1JxtMDi unVJxfde+p+u46aKSb1pdJSHqX9qbR9mQCcRWghz/HUGXsjxzRHuqpcFK9ZP/OA= =ITRg -----END PGP SIGNATURE-----