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:00:35 -0400, Atom 'Smasher' wrote:

i avoid linux, but sometimes i have to use it... what's the
limitation for exec?

There's a limitation on the number of characters or arugments:

ay:~> /bin/echo {1..30000}
zsh: argument list too long: /bin/echo
zsh: exit 127   /bin/echo {1..30000}
=====================

i can do that in freeBSD:
	$ ls {1..30000}
	zsh: argument list too long: ls

i thought that's what xargs is for...
	$ echo {1..30000} | xargs ls


        ...atom

 _________________________________________
 PGP key - http://atom.smasher.org/pgp.txt
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"The real truth of the matter is, as you and I know, that a
	 financial element in the large centers has owned the
	 government of the U.S. since the days of Andrew Jackson."
		-- Franklin Delano Roosevelt, November 21st, l933
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBAh6iAAoJEAx/d+cTpVci+voIAI1CM5mIgcnGBR8dGxKXJaoH
WjidTbB7CbPvbtLDL/ZofLNMewsHuQlT+MnltGPMZ1N4/n8/Tflwgk6b5iKW9b4J
p8B1cFjLN8lzdQer9JfpY9Kb2oJGhQpw4jNAMrWaI4wOn/ku3dbBV3QWqQA7KAAf
iB81VkOHI0W1ttRWp1OWJOMmNEq36Ihur0hbdex6ytXgPKStI/ivnJ+Yhol7lsCU
Ud/9d3mJGXSuDgBEI2aOrhOZ+5LpssMzuRqolnAfYtycOkE1KvlIR9mRy7iD/3Pn
HzBrgnfb0/n3CQhuExsu4emTgvzFoK9Xg4zmCKoaaW+Y2jb19Oj6vRn4gsaQAa4=
=FArC
-----END PGP SIGNATURE-----



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