Article View: comp.bugs.2bsd
Article #213Re: 'sed -e' dumps core
From: Maarten Litmaath
Date: Mon, 05 Sep 1988 20:31
Date: Mon, 05 Sep 1988 20:31
46 lines
1965 bytes
1965 bytes
In article <25927@ucbvax.BERKELEY.EDU> bostic@ucbvax.BERKELEY.EDU (Keith Bostic) writes:
\In article <1334@solo7.cs.vu.nl>, maart@cs.vu.nl writes:
\> 'sed -e' without any further argument dumps core.
\> A fix should be easy.
\
\This is not useful information. Sed on what machine running what
\OS? If available, it would also be nice to know what version of
\sed (see what(1), or strings(1)) you were running. "sed -e" seems
\to work fine on 4.[0123]BSD and 4.3BSD-tahoe.
\
\Keith Bostic
On 2.9BSD on a PDP11/44 the output of 'sed -e | cat -v' is:
Unrecognized command: M-pM-^@^]^B
On Sun UNIX 4.2 Release 3.5 the output of 'what /bin/sed' is:
/bin/sed
crt0.s 1.2 86/10/07 Copyr 1985 Sun Micro
sed0.c 1.2 86/10/07 SMI
sed1.c 1.2 86/10/07 SMI
fopen.c 1.2 86/10/07 SMI
filbuf.c 1.2 86/10/07 SMI
fprintf.c 1.2 86/10/07 SMI
doprnt.c 1.4 87/07/01 SMI
flsbuf.c 1.2 86/10/07 SMI
exit.c 1.2 86/10/07 Copyr 1984 Sun Micro
_itoa.s 1.2 86/10/07 Copyr 1984 Sun Micro
ctype_.c 1.2 86/10/07 SMI
findiop.c 1.2 86/10/07 SMI
calloc.c 1.2 86/10/07 SMI
malloc.c 1.3 86/10/07 SMI
isinf.c 1.2 86/10/07 SMI
memchr.c 1.2 86/10/07 SMI
q.s 1.2 86/10/07 Copyr 1984 Sun Micro
unpkd.s 1.2 86/10/07 Copyr 1984 Sun Micro
upottab.c 1.2 86/10/07 Copyr 1984 Sun Micro
isatty.c 1.2 86/10/07 SMI
And the output of 'sed -e':
Segmentation fault (core dumped)
--
Alles klar, |Maarten Litmaath @ Free U Amsterdam:
Herr Kommissar? |maart@cs.vu.nl, mcvax!botter!maart
Technical Details
Message-ID:
<1343@solo12.cs.vu.nl>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maartReferences:
<1334@solo7.cs.vu.nl> <25927@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.bugs.2bsd,comp.bugs.4bsd Subject: Re: 'sed -e' dumps core Message-ID: <1343@solo12.cs.vu.nl> Date: 5 Sep 88 20:31:44 GMT References: <1334@solo7.cs.vu.nl> <25927@ucbvax.BERKELEY.EDU> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 46