Re: sed misbehaving?

From: Marian Hettwer <mh_at_kernel32.de>
Date: Mon, 27 Aug 2007 13:03:10 +0200
Hi Danny,


On Mon, 27 Aug 2007 13:58:04 +0300, Danny Braniss <danny_at_cs.huji.ac.il> wrote:
> Since noone is complaining, this must be an oversite on my part, but
> 	echo 'ABC'|sed 's/a/z/'
> results in
> 	zBC
That's odd.
My sed isn't case insensitive:

([mhettwer_at_blowfish] <~> $ echo 'ABC' | sed 's/a/z/'
ABC
versus:
([mhettwer_at_blowfish] <~> $ echo 'ABC' | sed 's/A/z/'
zBC

Well, I'm not using current... so I don't know wether the sed version has changed...
([mhettwer_at_blowfish] <~> $ uname -a
FreeBSD blowfish 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Jul  4 12:43:22 CEST 2007     root_at_blowfish:/usr/obj/usr/src/sys/BLOWFISH  i386

regards,
Marian
Received on Mon Aug 27 2007 - 09:27:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC