Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 30 Dec 2001 13:41:28 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: note on cygmagic Message-ID: <20011230184128.GA13136@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <004001c1912d$93480110$0e6307d5 AT BRAMSCHE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004001c1912d$93480110$0e6307d5@BRAMSCHE> User-Agent: Mutt/1.3.23.1i On Sun, Dec 30, 2001 at 01:29:07PM +0100, Ralf Habacker wrote: >Hi, > >I tried to build a fresh cygwin dll and recognized that the tool "bc" seems newly be used in >a helper script named cygmagic. One can say, please install it, but another way could be to >minimize the needed helper packages. So this is a note for doing the second. > >I found the following line in src/winsup/cygwin/cygmagic > > awk '{print "obase=16;\"0x\";", $1}' | bc > >another possibility without "bc" seems to me like this > > awk '{printf("0x%x",$1) }' > >So if someone means, that this is a good note, please use it, otherwise forget it. Duh. Thanks for noticing this. I have no idea what I was thinking when I wrote this. Your change makes a lot of sense. I'll add it to cygmagic. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/