home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!smurf.sub.org!nadia!aragon.stgt.sub.org!veces.stgt.sub.org!haen
- From: haen@veces.stgt.sub.org (Herbert Neugebauer)
- Newsgroups: comp.os.os2.apps
- Subject: GNU AWK
- Distribution: world
- Message-ID: <714336346haen.news@veces.stgt.sub.org>
- Sender: news@veces.stgt.sub.org
- Date: Thu, 20 Aug 92 18:45:46 GMT
- Organization: TRN Porting Labs
- Lines: 32
-
- Hello,
-
- yesterday I got the gnuawk-package from ftp-os2. I already
- had an awk before, but this one wasn't able to process
- some of the scripts which I used on a unix-system. So I
- tried this one. It seams to be much better, but has
- one major problem. Sometimes I used awk with simple
- commands directly from the command-line.
-
- OS/2 command-line:
- awk "{print \"foobar\"$3}" foo.bar
-
- Unix command-line:
- awk '{print "foobar"$3}' foo.bar
-
-
- But this OS/2-version above does no longer work with
- the gnu-awk which I got yesterday, but it works with
- the old one.
-
- Could please someone give me a hint, how
- I can use gnu-awk from the command-line???
-
- Thanx in advance
-
- Herbert
- --
- ~~~~~~ Herbert Neugebauer ~~~ Eberhard Str. 5 ~~~~~~ W-7038 Holzgerlingen ~~
- ~~ haen@veces.stgt.sub.org ~~~ phone: 07031-603164 ~~~~~ Germany ~~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~~ This sentence in English is difficult to translate into German. ~~~
- ~~ - D. R. Hofstadter ~~~
-