[oclug] ...and speaking of awk...

Kirrily Robert skud at e-smith.com
Sun Feb 25 14:47:12 EST 2001


On Sat, Feb 24, 2001 at 10:20:38AM -0800, Francis Pinteric wrote:
> 
> --- Jonathan Earle <jearle at nortelnetworks.com> wrote:
> > > From: Joe Burpee [mailto:jeb at burkby.com]
> > > 
> > > nslookup 216.122.141.15 2>/dev/null |
> > > sed -n 's/^Name: *\([^.]*\).*/\1/p'
> > 
> > Oh God...! that'll take me a while to pull apart.  Quite the
> > regex... and it
> > works... dunno why, yet. :)
> 
> Now isn't that better? See how simply things are to do when you use
> the basic tools that come with Linux. Perl has it's place, but why
> add bloat when you don't need to?

I hate to break it to you, but Perl is one of the basic tools that comes
with my version of Linux at least :)

K.

-- 
Kirrily "Skud" Robert
skud at e-smith.com (work)
skud at infotrope.net (home)



More information about the OCLUG mailing list