On 02/08/2012 12:02 PM, David Brodbeck wrote: > 2012/2/7 Ingo Hofmann <ingo.hofm...@dont-panic.org>: >> What helps me sometimes is wrapping it up: >> >> for i in *; do rm $i; done > > Won't that just expand the * and result in the same problem? It seems > like you've just moved the problem from the rm statement to the for > statement.
This error arises during exec(3) when the length of the program arguments exceeds a certain size. Since 'for' is a shell builtin, there is no such practical limitation thereupon. See the ERRORS section in execve(2), specifically [E2BIG], for more details. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <cyber...@cyberleo.net> Furry Peace! - http://wwww.fur.com/peace/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"