Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2008 00:35:32 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   A sed question
Message-ID:  <743969.9333.qm@web57003.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

I want to translate following GNU sed lines to FreeBSD sed:

1. sed -e '/\*address:/{n;s@.*@replaceText @}'

2. sed -e '/\*address:/{n;s@$@ replaceText@}'

Appreciate if someone could help with it.

Is there a good documentation about FreeBSD sed other than man page?

Kind regards
Unga


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?743969.9333.qm>