Hi Folks,
I appeal to the ALUG Linux Consulate to rescue me, a citizen of Linux, from a foriegn and dangerous land!
I want to experimentally try running gawk on a Win98 system (the background is that a friend, currently working in Africa and stuck with Windows, could have the daunting task of restructuring the records in a CSV file solved in an awk 2-liner, instead of pulling hair out trying to do it in FoxPro).
Since I've never tried running any GNU stuff on Windows, so cannot offer any advice based on experience, I thought I'd better acquire some before shooting my nouth off.
This I went to
http://gnuwin32.sourceforge.net/packages/gawk.htm
and downloaded the "Setup" package (a 6.6MB .exe file), planted it in [excuse my language]
C:\Program Files\GnuWin32\gawk
[maybe that was a mistake?] and ran the setup file
gawk-3.1.3-2.exe
All seemed to go smoothly, the files being installed in the above directory.
Then I tried (in a DOS box) to run
gawk '{print "Ted"}'
and got an error that the "'" character was illegal!
So I feel stuck! Has anyone been there and succeeded, and can offer advice?
With thanks, Ted.
PS If there are any FoxPro experts out there who could short-circuit the problem by advising how to do it in FoxPro, I can send a mini-example of the job that needs to be done. It's really simple, logically speaking, but has a twist which might mean a little neat footwork. In which case very many thanks for that!
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 05-Aug-06 Time: 21:03:11 ------------------------------ XFMail ------------------------------