Matthew Woehlke <[EMAIL PROTECTED]> wrote:
> It seems like there should be a way to delete the first match in pure 
> sed, but I didn't figure it out in the few seconds testing I did.

sed '/foo/{x;/^$/d;}'


paul


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to