libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cygwin: need to use the correct 'head.exe'


From: Charles Wilson
Subject: Re: cygwin: need to use the correct 'head.exe'
Date: Mon, 10 Mar 2003 08:19:12 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Max Bowsher wrote:

DLLTOOL are now), since nothing but win32_libid() calls 'head' anyway.


How about using "sed 10q" instead?

But doesn't sed read thru the entire file, even if it only outputs the first 10 lines? (Yeah yeah, I know what it's *supposed* to do with a 'q' command. But does it really do that *in practice*?) That's what we're using head for: it will exit after reading (and printing) the first 10 lines, without looking at the other 100,000.

--Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]