sed behaving strangely when -n and the delete command are combined

Denys Vlasenko vda.linux at googlemail.com
Mon Jul 6 21:45:33 UTC 2009


On Monday 06 July 2009 23:00, Maximilian Gass wrote:
> On Tue, Jun 30, 2009 at 07:15:22PM +0200, Denys Vlasenko wrote:
> > Please try attached patch.
> 
> The first failure seems to be fixed now, but the build process enters a loop around this statement:
> 
> sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
> 		/tmp/eglibc-2_10/libc/build/pthread-pi-defines.hT3 > /tmp/eglibc-2_10/libc/build/pthread-pi-defines.hT
> 
> I am not much into the (e)glibc build process. Tell me what more information you'd need please.

I need /tmp/eglibc-2_10/libc/build/pthread-pi-defines.hT3 file
in order to reproduce.
--
vda


More information about the busybox mailing list