[PATCH] sed: save the last regex for use later

Nguyen Thai Ngoc Duy pclouds at gmail.com
Fri Aug 3 17:45:32 PDT 2007


I'm not really get into sed source code, so I might be wrong. Please recheck it.
With this patch, the following command should return 'abc' (GNU sed
does but busybox did not):
echo 'URL: abc'|busybox sed -ne '/^URL: */{ s///p; q }'
-- 
Duy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sed-save-the-last-regex-for-use-later-with-s.patch
Type: text/x-patch
Size: 1116 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070803/0feb4696/attachment.bin 


More information about the busybox mailing list