Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 11:20:34 -0400
From:      Paul Chvostek <paul+fbsd@it.ca>
To:        Peter McGarvey <fbsd-x@packet.org.uk>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: RMS says: "Use BSD, for goodness sake!"
Message-ID:  <20030626152034.GA38756@mail.it.ca>
In-Reply-To: <20030626113553.GA53078@packet.org.uk>
References:  <4.3.2.7.2.20030625214311.00e5e240@localhost> <20030626010357.J508@hub.org> <20030626110336.GW34365@iconoplex.co.uk> <20030626113553.GA53078@packet.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 26, 2003 at 12:35:53PM +0100, Peter McGarvey wrote:
> 
> Does anyone actually USE awk?
> 
> Other than to filter columns that is.

Unless it's absolutely vital to use something else, yes.  Awk has been
around forever, and behaves in a more predictable and consistent fashion
even than perl (due at least in part to the smaller toolset it offers).

http://www.it.ca/software/pmlw is an example of something that goes
beyond just filtering columns.  I've written many things over the years
that were perfectly acceptable in awk even though they would have been
equally function in perl.

My main (though possibly obsolete) reason:

# uname -sr
FreeBSD 4.8-RC
# ls -l /usr/bin/awk /usr/lib/libperl.so.3
-r-xr-xr-x  1 root  wheel  160368 May 15 15:39 /usr/bin/awk
-r--r--r--  1 root  wheel  661096 May 15 15:40 /usr/lib/libperl.so.3

-- 
  Paul Chvostek                                             <paul@it.ca>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030626152034.GA38756>