Hi, On Tue, 7 Aug 2007, Ren? Scharfe wrote: > Junio C Hamano schrieb: > > Mark Levedahl <mlevedahl@xxxxxxxxx> writes: > > > >> + printf "$mandir/%s\n" $(git ls-tree -r --name-only $head) | xargs > >> gzip -f > > > > No risk that ls-tree output is too long to fit within the exec > > args limit to run printf? > > Perhaps this instead? > > git ls-tree -r --name-only $head | (cd "$mandir" && xargs gzip -f) I would have done git ls-tree -r --name-only $head | sed "s|^|$mandir|" | xargs gzip -f but I like your version better. Thanks for teaching me, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html