AWK is a programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s. The name AWK is derived from the family names of its authors - Alfred Aho, Peter Weinberger and Brian Kernighan.
"AWK is a language for processing files of text. A file is treated as a sequence of records, and by default each line is a record. Each line is broken up into a sequence of fields, so we can think of the first word in a line as the first field, the second word as the second field, and so on. An AWK program is of a sequence of pattern-action statements. AWK reads the input a line at a time. A line is scanned for each pattern in the program, and for each pattern that matches, the associated action is executed." - Alfred V. Aho
- - - From Wikipedia, the free encyclopedia.
Links to AWK scripts for NS2 are given below:
AWK script for throughput – Download! (Click again if it doesnt work first time :) )
AWK script for jitter – Download!
AWK script for pdf (packet delivery fraction) – Download!
[Latest Update] You can also check our latest Automated Post Processing (APP) Tool which works based on AWK Scripts and automatically plots graphs. APP contains a set of 20 AWK Scripts which, if required, can be used outside APP also.
Here is the link to APP Tool's blog post:
Hope it helps.
Regards,Mohit P. Tahiliani