Re: sed misbehaving?

From: Julian Stacey <jhs_at_berklix.org>
Date: Mon, 27 Aug 2007 13:12:52 +0200
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_at_, 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.
Received on Mon Aug 27 2007 - 09:31:57 UTC

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