🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #525

Re: problems with sed

#525
From: Tapani Tarvainen
Date: Sat, 28 Oct 1989 08:41
27 lines
1501 bytes
In article <8910280012.AA06569@ra.umb.edu> mam@ra.umb.edu (Margaret Ann Metcalf) writes:

>This is to report a bug found with gnu sed versions 1.02 and 1.06.
>Problem lies in asking sed to perform branches (b label).
>Error message is
>    /usr/local/gnu/bin/sed: Can't find label for jump to ''

>Here's script

The offending line was this:

>    -e 'b' \

'b' or 't' without a label were compiled incorrectly (they should
branch to the end of script).  Fixing this required small changes in
setup_jump and in main() at the point where jump addresses were
stored (the execution phase already tested for this).

The fixed version can be obtained via anonymous ftp from tukki.jyu.fi
(128.214.7.5) in ~ftp/pub/sed/gnused106t2.tar.Z (or by sending me mail).

Incidentally, if anybody has ftp'd gnused106t1.tar.Z there was another
bug which is also corrected now (it wouldn't compile with non-ANSI
compilers because I'd forgotten to add non-ANSI declaration for
two functions).
-- 
Tapani Tarvainen    (tarvaine@tukki.jyu.fi, tarvainen@finjyu.bitnet)
Technical Details
Message-ID: <1857@tukki.jyu.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!mcsun!sunic!tut!tukki!tarvaine
References: <8910280012.AA06569@ra.umb.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!mcsun!sunic!tut!tukki!tarvaine
From: tarvaine@tukki.jyu.fi (Tapani Tarvainen)
Newsgroups: gnu.utils.bug
Subject: Re: problems with sed
Summary: fixed
Message-ID: <1857@tukki.jyu.fi>
Date: 28 Oct 89 08:41:24 GMT
References: <8910280012.AA06569@ra.umb.edu>
Reply-To: tarvaine@tukki.jyu.fi (Tapani Tarvainen)
Distribution: gnu
Organization: University of Jyvaskyla, Finland
Lines: 27