how to understand awk
1 Attachment(s)
I want to understand attached energy_wireless.awk.
Please guide me. |
Exactly what guidance are you looking for?
Are you saying you have looked through the manual and none of what is contained in the script makes sense? |
"energy_wireless.awk" is an "awk script for ns2 trace files".
Using, example : $ ns wireless-flooding.tcl .. will create the trace file "wireless-flooding-DumbAgent.tr" Code:
$ awk -f energy_wireless.awk wireless-flooding-DumbAgent.tr |
understanding awk
Quote:
can you send me any ".awk" script along with a ".tr" and explanation about how to write it? I am fully confused.. |
# 4 . How to write awk ...
|
need of .sh file
Quote:
|
# 6 .
Quote:
|
Well I see nothing from the original script that is very hard to understand assuming you have read the manual.
In case you had trouble using google or any other search engine to find one: http://www.gnu.org/software/gawk/man...ode/index.html After reading the manual, please advise which part you are confused about? Quote:
|
All times are GMT -5. The time now is 01:48 AM. |