Computer scientist and compiler expert Alfred V. Aho is a man at the forefront of computer science research. He has been involved in the development of programming languages from his days working as the vice president of the Computing Sciences Research Center at Bell Labs to his current position as Lawrence Gussman Professor in the Computer Science Department at Columbia University.
As well as co-authoring the 'Dragon' book series; Aho was one of the three developers of the AWK pattern matching language in the mid-1970's, along with Brian Kernighan and Peter Weinberger.
Computerworld recently spoke to Professor Aho to learn more about the development of AWK, in the first of a series of investigations into the most widely-used programming languages.
How did the idea/concept of the AWK language develop and come into practice?
As with a number of languages, it was born from the necessity to meet a need. As a researcher at Bell Labs in the early 1970s, I found myself keeping track of budgets, and keeping track of editorial correspondence. I was also teaching at a nearby university at the time, so I had to keep track of student grades as well.
I wanted to have a simple little language in which I could write one- or two-line programs to do these tasks. Brian Kernighan, a researcher next door to me at the Labs, also wanted to create a similar language. We had daily conversations which culminated in a desire to create a pattern-matching language suitable for simple data-processing tasks.
We were heavily influenced by GREP, a popular string-matching utility on UNIX, which had been created in our research center. GREP would search a file of text looking for lines matching a pattern consisting of a limited form of regular expressions, and then print all lines in the file that matched that regular expression.
We thought that we'd like to generalize the class of patterns to deal with numbers as well as strings. We also thought that we'd like to have more computational capability than just printing the line that matched the pattern.
So out of this grew AWK, a language based on the principle of pattern-action processing. It was built to do simple data processing: the ordinary data processing that we routinely did on a day-to-day basis.. We just wanted to have a very simple scripting language that would allow us, and people who weren't very computer savvy, to be able to write throw-away programs for routine data processing.
Latest on
- Symbian Foundation makes progress, but challenges remain
- Qld Health Commission injects virtual desktops
- Online ad groups release new behavioral ad principles
- Judge temporarily dismisses MySpace cyberbully case
- Apple patching serious SMS vulnerability on iPhone
- Equinix power outage downs VoIP, tweets up a storm
- Reports: Microsoft will sell Windows 7 'Family Pack'
- Mozilla slates first Firefox 3.5 patch
- Couple gets prison time for Internet obscenity
- Vendor squabbles cause W3C to scrap codec requirement
Essentials
TechWorld Jobs (beta)
Recent Jobs
TechWorld Blogs
-

TalkingTech
The view from the top of IT with TechWorld Editor Rodney Gedda
-

Entrenched
Cooking up better code, IDG's developers reveal some of their secrets
-

Broadband Voice
Darren Pauli digs in from the front line of Australia's broadband battleground
Recent blog posts
- Nokia remains 'open' to Android amid Symbian renaissance
- KDE's Seigo gives sneak peek at version 4.3
- Was the iPhone 3G S worth queuing up for?
- Has Oracle started its mammoth technology consolidation?
- iPhone 3.0: the detail is the process, not the features
- TechWorld.com.au goes mobile
- Should Dell buy Palm? Stranger things have happened
- A big week for Linux: is user friendliness finally in sight?
- Apple, Android rain on Palm's Pre parade
- The clone attack is becoming unstoppable
Recent comments
- Interesting report. You were
4 hours 41 min ago - Are you sure it is in Sydney?
16 hours 2 min ago - The mobile market has
23 hours 55 min ago - Great news.
Sms spam should
1 day 20 hours ago - now what am I gonna do with
1 day 23 hours ago - ozlotteries.com not ozlotto.cm
2 days 1 hour ago - OLAT Release
2 days 11 hours ago - and i was sure i would win...
2 days 15 hours ago - Hi SolidRadicle,
I am looking
2 days 16 hours ago - Not if I can help it
2 days 16 hours ago - Ozlotto Tips Scam
2 days 20 hours ago - Great post.
It's very
2 days 20 hours ago - Excellent review! I'm glad
4 days 17 hours ago - iTunes Helper
1 week 4 hours ago - Update the link to OrangeHRM web site
1 week 21 hours ago - Very informative article
1 week 1 day ago - Google Chrome is still being directed to bing instead of google
1 week 1 day ago - regd: Software Magazine
1 week 1 day ago - I seem to have missed a point
1 week 2 days ago - Tech of Yesteryear
1 week 3 days ago










Comments
I've been dabbling in Linux
I've been dabbling in Linux now for 1 - 2 years and have always been overwhelmed by the number of ways to handle data, that is until I discovered AWK. This one utility provides all the functionality I need in one simple, flexible and powerful language. So gone are the days of info/man'ing this utility and that utility just to query some text data, AWK has it all build into consistent scripting language...
Awk - half of my Unix typing
As an ex-Bell Labs engineer, I can safely say that I probably typed an Awk command every other time I typed a command. Sure a little exaggeration, but no much. Awk was always on one side or another of a pipe. As a manager, I started out learning C. My project was based on a legacy macro level language and that project is still alive 39 years later. So, as I needed to process lots of text for various projects I was playing with I turned to C. I printed "hello world" and moved to Awk. I lived and died with Awk for the rest of my 32 year career from analyzing budgets to NCSL, from reliability studies to performance analysis. And you could always throw the output in "S" for the statical package!
Post new comment