Re-use AWK components
[khatus.git] / src / awk / exe / parse_iwconfig.awk
similarity index 92%
rename from bin/khatus_parse_iwconfig
rename to src/awk/exe/parse_iwconfig.awk
index a33b50f..95eedd1 100755 (executable)
@@ -1,5 +1,3 @@
-#! /usr/bin/awk -f
-#
 # Example iwconfig output:
 # -----------------------
 # $ iwconfig wlp3s0
 #
 # USAGE: khatus_parse_iwconfig -v requested_interface="$wifi_interface"
 
-BEGIN {
-    OFS = msg_fs ? msg_fs : "|"
-    Kfs = key_fs ? key_fs : ":"
-}
-
 /^[a-z0-9]+ +IEEE 802\.11 +ESSID:/ {
     interface = $1
     split($4, essid_parts, ":")
This page took 0.022669 seconds and 4 git commands to generate.