We have partnered with TradePub to bring you free industry magazines and resources - no coupons or credit cards required!

Visit: englishforums.tradepub.com


Share this topic:
This question is Not Answered
Latest post Thu, Nov 11 2004 4:48 PM by Andrei. 1 replies.
Suggest an answer | | |
Andrei  +  54778 Thu, 11 Nov 04 04:48 PM
Arnold Robbins and I are good friends. We were introduced 11 years ago by circumstances—and our favorite programming language, AWK. The circumstances started a couple of years earlier. I was working at a new job and noticed an unplugged Unix computer sitting in the corner. No one knew how to use it, and neither did I. However, a couple of days later it was running, and I was root and the one-and-only user. That day, I began the transition from statistician to Unix programmer.

On one of many trips to the library or bookstore in search of books on Unix, I found the gray AWK book, a.k.a. Aho, Kernighan and Weinberger, The AWK Programming Language, Addison-Wesley, 1988. AWK's simple programming paradigm—find a pattern in the input and then perform an action—often reduced complex or tedious data manipulations to few lines of code. I was excited to try my hand at programming in AWK.

Alas, the awk on my computer was a limited version of the language described in the AWK book. I discovered that my computer had “old awk” and the AWK book described “new awk.” I learned that this was typical; the old version refused to step aside or relinquish its name. If a system had a new awk, it was invariably called nawk, and few systems had it. The best way to get a new awk was to ftp the source code for gawk from prep.ai.mit.edu. gawk was a version of new awk written by David Trueman and Arnold, and available under the GNU General Public License.

(Incidentally, it's no longer difficult to find a new awk. gawk ships with Linux, and you can download binaries or source code for almost any system; my wife uses gawk on her VMS box.)

My Unix system started out unplugged from the wall; it certainly was not plugged into a network. So, oblivious to the existence of gawk and the Unix community in general, and desiring a new awk, I wrote my own, called mawk. Before I was finished I knew about gawk, but it was too late to stop, so I eventually posted to a comp.sources newsgroup.

A few days after my posting, I got a friendly email from Arnold introducing himself. He suggested we share design and algorithms and attached a draft of the POSIX standard so that I could update mawk to support language extensions added after publication of the AWK book.
---------------------------------------------------------------------------------------------------------



1)Arnold Robbins and I are good friends.


2)My Unix system started out unplugged from the wall; it certainly was not plugged into a
network.


3)I learned that this was typical; the old version refused to step aside or relinquish its name.





Is the first sentence correct? Would you write in that way?

Are the semicolons appropriate in the second and the third sentences?


Joined on Sat, May 29 2004
Full Member 387
Mister Micawber  +  54829 Thu, 11 Nov 04 10:43 PM


Yes, all are correct, but the third sentence might benefit from a colon instead.

Joined on Wed, Aug 4 2004
Yokohama
Veteran Member 30,802
'The question is,' said Humpty Dumpty, 'which is to be master-- that's all.'
© MediaCet Ltd. 2009, v5.0.3614.32638. All content posted by our users is a contribution to the public domain, this does not include imported usenet posts.*
For web related enquires please contact us on webmaster@mediacet.com, status updates are available at status.mediacet.com.
*Usenet post removal: Use 'X-No-Archive'. You may not have understood that your posts would end up in the public domain. Please send proof of the poster's email, we will remove immediately.