Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2007 21:44:29 -0800
From:      perryh@pluto.rain.com
To:        matt@gsicomp.on.ca
Cc:        kline@tao.thought.org, freebsd-questions@freebsd.org
Subject:   Re: perl substitution question
Message-ID:  <45a9c33d.GPlTVhPx1%2Bf5rhxk%perryh@pluto.rain.com>
In-Reply-To: <001201c7378f$775f3e10$1200a8c0@gsicomp.on.ca>
References:  <20070114024551.GA21847@thought.org> <001201c7378f$775f3e10$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
> cat k | tr "\200" "\"" | tr "\235" "\"" > k.new

Or, skipping the unnecessary cat and invoking tr only once

tr "\200\235" "\"\"" < k > k.new



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45a9c33d.GPlTVhPx1%2Bf5rhxk%perryh>