ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/02/29/09:42:56

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Tue, 29 Feb 2000 15:20:08 +0100 (MET)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: djgpp-workers AT delorie DOT com
Subject: Re: ANNOUNCE: Bison 1.28 ported to DJGPP
In-Reply-To: <200002290934.KAA14067@mars.lu.erisoft.se>
Message-ID: <Pine.LNX.4.10.10002291511400.10083-100000@acp3bf>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

[ No Cc: to zippo-workers; onelist.com won't let me :-( ]

On Tue, 29 Feb 2000, Martin Stromberg wrote:
> > The DJGPP Software Manifest (DSM) for the package would have a dependency
> > on bash (whatever version), so that the user cannot install the package
> > until bash has been installed.
> 
> And how do you install bash and its changes to DJGPP.ENV?

That's why I mentioned a *builtin* sed- or awk-like machinery. The
installer has to be able to modify DJGPP.ENV on its own, without help of
any of the other tools (or those tools have to become part of the
installer).

And of course, bash itself won't help much in modifying the contents of
DJGPP.ENV. It has some file-modification capabilities ('read' ; 'echo >>
file' and such), but that isn't very helpful here. It's just too
complicated to use, IMHO. We'ld need something like more along the lines
of 'sed', i.e. a scriptable file editor which can be told to

	replace all lines starting with the [bison] one, until the next
        one starting with '[', by the following three lines:
	[bison]
	+BISON_SIMPLE=....
	+BISON_HARIY=...

I'm not sure, offhand, how to express this as a 'sed' script, but
it should be possible.

The longer I think about it, the better the one-.env-file-per-package idea
looks...

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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