procmail
[Top] [All Lists]

Re: sed substitute (was: hex value in condition)

1997-08-10 16:27:00
Jim Irwin <jirwin(_at_)mail(_dot_)netshop(_dot_)net> wrote:

<snip>
Jim> As sed uses Basic Regular Expressions, the '+' has to be
Jim> backslashed in order to acquire metacharacter status -
Jim> i.e.- 'r\+'.

Is it like this?

:0fbw
| sed -e "/^_\+ $HENSHIN _\+$/",'$d'

This sed did not match while "/^__* $HENSHIN __*$/" did.
Am I making any other mistake here?

_/_/_/      Mitsuru FURUKAWA      _/_/_/
_/_/_/        Tokyo, Japan        _/_/_/
_/_/_/     mailto:furu(_at_)009(_dot_)com    _/_/_/
_/_/_/  http://www.009.com/furu/  _/_/_/

<Prev in Thread] Current Thread [Next in Thread>