*BSD News Article 87406


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!hunter.premier.net!feed1.news.erols.com!insync!uunet!in3.uu.net!199.0.65.182!news-in.tiac.net!posterchild!seahag.rmkhome.com!rmk
From: rmk@rmkhome.com (Rick Kelly)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Question about sed on different systems
Date: 24 Jan 1997 05:46:08 GMT
Organization: The Man With Ten Cats
Lines: 23
Message-ID: <5c9ib0$mgf@news-central.tiac.net>
References: <5c5qo2$c2j@darkstar.ucsc.edu> <5c6qd9$92t@news-central.tiac.net> <32E78588.E4A862@lucon.org>
Reply-To: rmk@seahag.rmkhome.com
NNTP-Posting-Host: seahag.rmkhome.com
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5230

H.J. Lu (hjl@lucon.org) wrote:
: Rick Kelly wrote:

: > I just tried this on SunOS 4.1.4, NetBSD/i386 1.2, and NetBSD/i386 1.0A.
: > The output in all three cases was nothing.

: Are you sure? May I suggest you do one of the following things:

: 1. Try it on a VERY slow machine.
: 2. Try it in a VERY slow tty.
: 3. Do

: # echo -n "AX" | sed -e 's/X//' > /tmp/foo
: # vi /tmp/foo

: If everything fails, you should consider fixing your system.


Yes, this returns 'A' on every system here except SunOS 4.1.1 running
on a Sun 3/80.  
--
Rick Kelly  rmk@seahag.rmkhome.com  rmk@rmkhome.com 
            http://tencats.rmkhome.com