Re: Argument list too long: out of environment space

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Wed Mar 01 2000 - 20:37:20 EST


Stuart Inglis <stuart@intelligenesis.net> said:

[...]

> Usually I get around problems like this by passing `echo *` into head or
> tail +N etc. xargs isn't an option due to the massive startup times of
> our custom commands.

If they are custom, they can surely be rewritten to take a list of files
to process on stdin. Then you go:

   ls | run-some-custom-command

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:11 EST