Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh tips plea (tip of the day)



-----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-----



Messages sorted by: Reverse Date, Date, Thread, Author