delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 23 Sep 2005 20:40:07 -0400 |
From: | Jason Tishler <jason AT tishler DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: rebase: rebaseall growing pains |
Message-ID: | <20050924004007.GA1500@tishler.net> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <43344AAC DOT 6050806 AT users DOT sourceforge DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <43344AAC.6050806@users.sourceforge.net> |
User-Agent: | Mutt/1.4.1i |
X-IsSubscribed: | yes |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |