delorie.com/archives/browse.cgi | search |
From: | <ams AT ludd DOT luth DOT se> |
Message-Id: | <200308251644.h7PGiRvZ008901@speedy.ludd.luth.se> |
Subject: | Re: tests/libc/c99/math/t-fpclas.c |
In-Reply-To: | <3F47D81F.92670EB7@phekda.freeserve.co.uk> "from Richard Dawe at |
Aug 23, 2003 10:09:51 pm" | |
To: | djgpp-workers AT delorie DOT com |
Date: | Mon, 25 Aug 2003 18:44:27 +0200 (CEST) |
X-Mailer: | ELM [version 2.4ME+ PL78 (25)] |
MIME-Version: | 1.0 |
X-MailScanner: | Found to be clean |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
According to Richard Dawe: > Rather than just complain, here's an example of how to get sed to list what > you want. ;) > > bash-2.04$ echo -e "/FP_CLASSIFY/p\n/FP_NAN/p" > fp.sed > bash-2.04$ echo -e "foo\nbar\nFP_CLASSIFY\nblah\nFP_NAN" | sed -n -f fp.sed > FP_CLASSIFY > FP_NAN ... > I guess you'd need something in the makefile for fpclassify like this: > > fpclassify.S: fp-asm.h fp-asm.sed > sed -n -f fp-asm.sed $(TOP)/../../include/math.h > fp-asm.h > > clean: > rm -f fp-asm.h Thanks. With some changes this works fine. Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |