[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: very very strange bash/sed bug !!



On Wed, Jan 29, 2003 at 11:52:36AM +0100, Xavier Bestel wrote:
> it's been a loong time I have a bug on my system: ./libtool is
> incorrectly generated by ./configure. I haven't been able to correct it
> for months.
> 
> Today I discovered where lies the bug: it's somewhere between bash and
> sed.
> 
> First and foremost, I'm running debian/unstable, and have sed 3.02-8.1,
> bash 2.05b-6 and libtool 1.4.3-5 (but it's been there since several
> versions).
> 
> Now the bug:
> 
> echo xx >lt1
> echo xx >lt2
> sed '' /usr/share/libtool/ltmain.sh >>lt1
> sed '' /usr/share/libtool/ltmain.sh |less >>lt2
> diff lt1 lt2
> 
> They differ !!! And surprisingly, only lt2 is correct !

I ran those commands and lt1 and lt2 do not differ. I use the same
versions of sed, bash, and libtool as you. What is the
difference between lt1 and lt2?

-- 
Seneca
seneca-cunningham@rogers.com



Reply to: