Solved

Awk Compiler

Posted on 2004-10-15
9
1,614 Views
Last Modified: 2008-01-09
Hey guys, I am looking for an awk compiler. Can anyone help? Regards.
0
Comment
Question by:varuncvarada
  • 4
  • 3
  • 2
9 Comments
 
LVL 21

Expert Comment

by:MogalManic
ID: 12325705
0
 
LVL 15

Expert Comment

by:efn
ID: 12329985
0
 
LVL 1

Author Comment

by:varuncvarada
ID: 12389923
Unfortunately the link MogalManic gave me didn't have a link to donwload the awk compiler. And the link efn gave me had no link that was working!!!
0
 
LVL 15

Expert Comment

by:efn
ID: 12390198
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 21

Expert Comment

by:MogalManic
ID: 12390568
Tawk is a comercial program
0
 
LVL 21

Expert Comment

by:MogalManic
ID: 12472955
Here is an open source solution.  It is an AWK to C converter
http://awka.sourceforge.net/
0
 
LVL 1

Author Comment

by:varuncvarada
ID: 12489494
Actually, these websites have the awk files, but when I try to open them, windows does not recognize the files. When I tried it with perl, it worked because it had an executor, which was PERL Command Line Interpreter. What is it for AWK?
0
 
LVL 15

Accepted Solution

by:
efn earned 100 total points
ID: 12489666
awk is also a command line interpreter.  It may be called gawk or something else, depending on what program you use.  It's sufficiently obscure and UNIXy that there may not be a Windows package that sets up file associations for you.  (File associations are what find the right program to process a file automatically when you open it.)

You can download a command-line interpreter for Windows from

http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe

Then you can run it from a command prompt.  You can give it the name of a script to run as a command line argument.

--efn
0
 
LVL 21

Expert Comment

by:MogalManic
ID: 12489690
To run an awk program it can either be from the stdin or from a file.  Here is a simple awk program that counts the lines of the input stream
lc.awk:
{
    lineCount++;
}
END {
   print lineCount;
}

To run it using GAWK, you would use the following:
gawk -f lc.awk testFile.txt

which would process testFile.txt and count the # of lines.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 66
Sorting in Excel with Group Headers if the Exist 2 68
parentbit challenge 3 52
mapAB Challlenge 35 88
This article will show, step by step, how to integrate R code into a R Sweave document
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now