Actually, I do like writing code, but ended up using 'tr' to do the
substitution, even though I did come up with Python code that was actually
faster.
--Th
-----Original Message-----
From: Ed Summers [mailto:[log in to unmask]]
Sent: Wednesday, May 26, 2004 10:24 AM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Linfeed Trick
On Wed, May 26, 2004 at 09:49:22AM -0400, Houghton,Andrew wrote:
> cat *.mrc | tr \035 \012 | wc -l
Isn't that shell code :)
//Ed
|