delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/30/13:42:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019