Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2007 12:15:46 -0800
From:      Gary Kline <kline@tao.thought.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Gary Kline <kline@tao.thought.org>, freebsd-questions@freebsd.org
Subject:   Re: perl substitution question
Message-ID:  <20070114201546.GA28048@thought.org>
In-Reply-To: <20070114034148.GC2734@kobe.laptop>
References:  <20070114024551.GA21847@thought.org> <20070114034148.GC2734@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help

	Thanks for all the ways, gents.  (I never thought of tr,
	but now that seems like an option.)  A week+ ago I tried
	perl using 's/\xNN/"/g' from the cmdline, but nojoy. 
	The online docs said that \N{xx} would catch a hex character;
	that's what was fuzzy.

	{Very} early this morning I retried using \x80 and 
	\x9d, \x9c separately.  diff showed that things worked...
	mostly; then I found more hex characters that I had to
	carefully subs out.  I'll write a script to do the whole 
	bunch.

	No wonder I love Unix!

	gary



-- 
  Gary Kline  kline@thought.org   www.thought.org  Public Service Unix




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