This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: note on cygmagic


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]