[H-GEN] file conversions
Anthony Towns
aj at azure.humbug.org.au
Thu Feb 15 08:01:50 EST 2001
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]
On Thu, Feb 15, 2001 at 10:17:31PM +1000, Jason Parker wrote:
> This will edit files in-place:
> $ perl -i .bak -pe'y/:/\n/' *.input
This won't:
$ tr <foo >foo.new ':' '\n'
But it will do basically the same thing, and it doesn't need that new
fangled Perl whatsit.
Cheers,
aj (TMTOWTDI, after all)
--
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
``_Any_ increase in interface difficulty, in exchange for a benefit you
do not understand, cannot perceive, or don't care about, is too much.''
-- John S. Novak, III (The Humblest Man on the Net)
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list