Message-Id: <199905261643.QAA107618@out2.ibm.net> From: "Mark E." To: RJ vd Boon , djgpp-workers AT delorie DOT com Date: Wed, 26 May 1999 12:44:47 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: SFN patches In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.11) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > 2) Change references of '.patchlevel' and '.distrubution' to '_patchlevel' > > and '_distribution' in a set of files (with a sed script?). > I added the sections below to handle .patchlevel, .distribution, and .build: echo Change references of .patchlevel to _patchlevel and .distribution to _distribution... for f in \ ./configure.in \ ./support/mkconffiles \ ./support/mkclone do sed -e 's/.patchlevel/_patchlevel/g' \ -e 's/.distribution/_distribution/g' \ -e 's/.build/_build/g' $f > ${SCRTMPFIL} \ && update ${SCRTMPFIL} $f \ && rm ${SCRTMPFIL} done echo Change references of .build to _build... for f in \ ./configure.in \ ./Makefile.in \ ./support/mkversion.sh do sed -e 's/.build/_build/g' \ sed -e 's/.made/_made/g' $f > ${SCRTMPFIL} \ && update ${SCRTMPFIL} $f \ && rm ${SCRTMPFIL} done > echo Last but not least, the list of files that still have a reference to y.tab: > grep -l y\.tab `find . -type f -not -name "*~"` > > > --- Mark Elbrecht, snowball3 AT bigfoot DOT com http://snowball.frogspace.net/