'sed -e' dumps core
Maarten Litmaath
maart at cs.vu.nl
Tue Sep 6 06:31:44 AEST 1988
In article <25927 at ucbvax.BERKELEY.EDU> bostic at ucbvax.BERKELEY.EDU (Keith Bostic) writes:
\In article <1334 at solo7.cs.vu.nl>, maart at 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 at cs.vu.nl, mcvax!botter!maart
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list