delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | pavenis AT lanet DOT lv |
To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com |
Date: | Wed, 30 Jan 2002 15:50:41 +0200 |
MIME-Version: | 1.0 |
Subject: | Re: Long delays running SED under Win98SE |
Message-ID: | <3C581651.3103.11E4B54@localhost> |
References: | <3C581048 DOT 299 DOT 106B51B AT localhost> |
In-reply-to: | <Pine.SUN.3.91.1020130154004.17919T@is> |
X-mailer: | Pegasus Mail for Windows (v4.01) |
Reply-To: | djgpp-workers AT delorie DOT com |
On 30 Jan 2002 at 15:43, Eli Zaretskii wrote: > > On Wed, 30 Jan 2002 pavenis AT lanet DOT lv wrote: > > > > > sed -n -e '/\.eh_frame/,/\.section/p' <foo.s > > > > It seems to be wildcard expansion problem at program startup before main() > > is called. > > And what's new about that? Wildcard expansion is always called at > startup time. > > > djecho '/\.foo/' > > Is it possible that the "/\" part is somehow interpreted by Windows as a > UNC (and then the call goes to a network, to look for a machine called > ".foo")? For example, can you cut the startup time significantly by > playing with the string passed on the command line? Yes it seems to be so. If I feed some real UNC after '/\' I'm getting much faster response time. Maybe it would be best to forbid an attempt to interpret argument as UNC at program startup. Otherwise I'm getting trouble when feeding legal argument to SED which perfectly works under Linux. Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |