Yaakov, On Fri, Sep 23, 2005 at 01:34:20PM -0500, Yaakov S wrote: > When I have to run rebase from the distro, I get the following error: > gzip: Argument list too long
Oops! > This is because of the command "gzip -d -c /etc/setup/*.lst.gz". > Instead, that part could work like the following: > > [snip] > # Create rebase list > for f in /etc/setup/*.lst.gz > do > gzip -d -c $f | grep -E "($Suffixes)\$" | \ > sed -e '/cygwin1.dll$/d' -e 's/^/\//' >>"$TmpFile" ; > done I would prefer something like the following: find /etc/setup -name '*.lst.gz' -maxdepth 1 | xargs gzip -d -c | \ grep -E "($Suffixes)\$" | sed -e '/cygwin1.dll$/d' -e 's/^/\//' \ >>"$TmpFile" because it is more efficient than the above. I will release a new version of rebase with this fix. Thanks for the heads up. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/