Re: sed oddity
> While building the gcc-2.7.2-3 package, the configure script failed
> sometimes. I tracked that down to sed dumping core when called in the
> pipe
>
> basic_machine=`echo $1 | sed 's/-[^-]*$//'`
>
> $1 is i486-unknown-linux at that point.
>
> After it had failed once, I could reproduce the error anytime I
> manually invoked the pipe inside the backquotes, so I decided to
> rebuild sed from the sources (maybe it suffered from a buggy gcc).
> ...
> Any ideas?
None different than others have already suggested. My first two
guesses would be kernel bug, libc incompatibility.
David
--
David Engel Optical Data Systems, Inc.
david@ods.com 1101 E. Arapaho Road
(214) 234-6400 Richardson, TX 75081
Reply to:
- References:
- sed oddity
- From: Siggy Brentrup <bsb@beck.westfalen.de>