Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 13:12:52 +0200
From:      "Julian Stacey" <jhs@berklix.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sed misbehaving? 
Message-ID:  <200708271112.l7RBCqfT054850@fire.js.berklix.net>
In-Reply-To: Your message "Mon, 27 Aug 2007 13:58:04 %2B0300." <E1IPcIH-000Cya-0v@cs1.cs.huji.ac.il> 

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Braniss wrote:
> Since noone is complaining, this must be an oversite on my part, but
> 	echo 'ABC'|sed 's/a/z/'
> results in
> 	zBC
> what did i miss?
> 
> thanks,
> 	danny

OK, i recognise you posted current@, but here:
	uname -r
	6.2-RELEASE
	echo 'ABC'|sed 's/a/z/'
	ABC

Maybe you have an env. var. such as EXINIT or some ~/.* or /etc/*
initialiser file that's doing the equivalent of 	vi 	:se ic	?
I know you'r talking sed, not vi,
but man vi FILES gives hints of places to look for similar thing such as eg
	/etc/vi.exrc
	$HOME/.nexrc
	$HOME/.exrc
	`pwd`/.nexrc
	`pwd`/.exrc

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
	Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.



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