[GRASS-windows] ERROR: awk required, please install awk or gawk first

Liu, Huili HLiu at ap.org
Mon Mar 12 09:58:45 EDT 2012


Hi exports,

I tried to add a column on the table by the following code
grass.run_command('v.db.addcol', map='from_shape5', columns='WINNER_COLOR, VARCHAR(15)')

but I got the error:
ERROR: awk required, please install awk or gawk first

I installed awk and gawk on my WindowsXP desktop and works fine by commandline by awk --help. However, I got the same error from grass.run_command('v.db.addcol',...)

Do I run a wrong syntax or it is a bug from v.db.addcol? By the way, I use dbf driver.

Regards,
Willie



The information contained in this communication is intended for the use
of the designated recipients named above. If the reader of this 
communication is not the intended recipient, you are hereby notified
that you have received this communication in error, and that any review,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please 
notify The Associated Press immediately by telephone at +1-212-621-1898 
and delete this email. Thank you.
[IP_US_DISC]

msk dccc60c6d2c3a6438f0cf467d9a4938



More information about the grass-windows mailing list