X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=v2%2Fsrc%2Fawk%2Fexe%2Fparse_fan_file.awk;fp=v2%2Fsrc%2Fawk%2Fexe%2Fparse_fan_file.awk;h=3f86e883f6ab1265ab5445d9e0864fe80e81bee2;hb=53d24ad688ea39892dbf3c748c1e40514eeb2763;hp=0000000000000000000000000000000000000000;hpb=0c4f892ec9d0cd7dc87c83c01b52259d0aed1ae3;p=khatus.git diff --git a/v2/src/awk/exe/parse_fan_file.awk b/v2/src/awk/exe/parse_fan_file.awk new file mode 100644 index 0000000..3f86e88 --- /dev/null +++ b/v2/src/awk/exe/parse_fan_file.awk @@ -0,0 +1,6 @@ +{ + key = $1 + sub(":$", "", key) + val = $2 + print(key, val) +}