Skip to content

Commit

Permalink
Initial load to github
Browse files Browse the repository at this point in the history
  • Loading branch information
cawoodm committed Nov 18, 2016
1 parent c81b90a commit 55c3c0b
Show file tree
Hide file tree
Showing 9 changed files with 574 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

AWKGUI
------
Author: [email protected]>

A simple HTA GUI for AWK.
Load and save your favorite queries.
Suited for analysing IIS log files.

Tutorial:
1. Start awkgui.hta by double clicking.
2. Choose the input file "test.log" (a sample IIS log file)
3. Choose the count_ip.awk sample awk script
4. Press "Run AWK"
5. The result is a list of hits per ip address
7 changes: 7 additions & 0 deletions awkgui.awk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$1!~/^#/ {
total[$3]++
}

END {
for (i in total) print(i, total[i])
}
1 change: 1 addition & 0 deletions awkgui.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mawk.exe -f G:\HTA\AWKGUI\awkgui.awk G:\HTA\AWKGUI\test.log > op.txt
Loading

0 comments on commit 55c3c0b

Please sign in to comment.