Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: How to usin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 2232 of 2236
Post > Topic >>

Re: How to using gawk in Windows

by Ted Davis <tdavis@[EMAIL PROTECTED] > May 9, 2008 at 03:28 PM

On Fri, 09 May 2008 10:36:27 -0700, moonhkt wrote:

> Hi All
> 
> 
> D:\Example\Software\awk>uname -a
> CYGWIN_NT-5.1 moon 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
>

You might prefer a pure Windows port:
<http://gnuwin32.sourceforge.net/packages/gawk.htm>

There are a few differences from Unix usage, mostly the command line
syntax and the fact that Windows doesn't implement some functions.

In Windows, the oneliner for your tag.awk would be

  awk "BEGIN{print \"eric\"}"

There is no /dev/null in Windows - it's just 'nul'.

-- 
T.E.D. (tdavis@[EMAIL PROTECTED]
)




 5 Posts in Topic:
How to using gawk in Windows
moonhkt <moonhkt@[EMAI  2008-05-09 10:36:27 
Re: How to using gawk in Windows
Hermann Peifer <peifer  2008-05-09 20:04:56 
Re: How to using gawk in Windows
Ted Davis <tdavis@[EMA  2008-05-09 15:28:37 
Re: How to using gawk in Windows
moonhkt <moonhkt@[EMAI  2008-05-09 20:01:36 
Re: How to using gawk in Windows
Ted Davis <tdavis@[EMA  2008-05-10 12:24:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 23:29:20 CDT 2008.