Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 11:37:30 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        S?ren Klintrup <soren@klintrup.dk>
Cc:        freebsd-proliant@freebsd.org
Subject:   Re: HP Proliant SmartArray nagios check
Message-ID:  <20070214003730.GD62320@k7.mavetju>
In-Reply-To: <45D25504.6020500@klintrup.dk>
References:  <45D1B2B1.3070703@klintrup.dk> <20070213213959.GL90772@k7.mavetju> <45D25504.6020500@klintrup.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 14, 2007 at 01:17:08AM +0100, S?ren Klintrup wrote:
> As for using 'i' as an option on sed, it doesn't seem to work on FreeBSD 
> 6.2 (havn't tested on others, since theres no reason if it doesn't work 
> on 6.2 :), the tr A-Z a-z worked like a charm though, and it's readable 
> again.
> 
> $ echo fOo|sed -e 's/foo/bar/i'
> sed: 1: "s/foo/bar/i
> ": bad flag in substitute command: 'i'

Hmmm... My fault, sorry. I thought that sed could swallow regexp-flags,
but it seems to be limited to gpwN...

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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