Path: utzoo!attcan!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!news From: stanonik@nprdc.navy.mil (Ron Stanonik) Newsgroups: comp.unix.wizards Subject: sed bug? Message-ID: <24172@adm.BRL.MIL> Date: 15 Aug 90 16:33:28 GMT Sender: news@adm.BRL.MIL Lines: 22 We've run into what appears to be a sed bug in sunos4.X (sun3 snd sun4) and in sysVr3 (on a 3b2). Here's a little sed program to demonstrate it 1 s/.*/&/p d I'd expect this to print only the first line, and indeed that's what happens in 4.3bsd (on a vax 780). In sunos4.X and sysVr3, however, nothing is printed. If the program is changed to 1p d then the first line is printed. Bug? Thanks, Ron Stanonik stanonik@nprdc.navy.mil