On Sun, Nov 05, 2006 at 10:29:42AM -0800, Steve Lamb wrote:
> Andrew Sackville-West wrote:
> > tr -d '\n' 
> > 
> > deletes the new lines
> 
>     Ahhh, ok.  Was still going off of the previous Python examples which
> didn't delete newlines, only replaced them with spaces.  Mea Culpa.
> 

I have to say that this stuff is one of my favorite parts of
deb-user. There is so much you can do with *sh and the various little
gnu utils that its really mind blowing to me. I love the opportunity
to learn new ways of thinking. The python examples are how I would
have originally approached the problem, but seeing this little one
liner I find amazing, initially cryptic at best, but ultimately very
intuitive and natural. same goes for sed, awk and various other
archaic but extremely useful bits. sort of like the swiss-army knife
of computing. 

A

oh, and by archaic I merely mean that they've been around for a long
time. maybe arcane is better? ancient and cryptic but magically useful
once you've grokked the appropriate incantations. heh. 

A

Attachment: signature.asc
Description: Digital signature

Reply via email to