ref: 75f9f90edfa9cdb2804dce926a2a1dabb27d5a88
parent: 5b64348f5b20cc8136baa6634232e30af4d36c90
author: qwx <[email protected]>
date: Sun Sep 25 00:35:55 EDT 2022
awk: not awk scripts
--- a/awk/descstat.awk
+++ b/awk/descstat.awk
@@ -1,4 +1,3 @@
-#!/bin/awk -f
# assumption: no missing values/indices in input data
function swap(X, a, b, t)
--- a/awk/hex.awk
+++ b/awk/hex.awk
@@ -1,4 +1,3 @@
-#!/bin/awk -f
function hex(s, v){
if(s ~ /^0x/)
s = substr(s, 3)
--- a/awk/sort.awk
+++ b/awk/sort.awk
@@ -1,4 +1,3 @@
-#!/bin/awk -f
# 1988, aho, kernighan and weinberger: the awk programming language, pp 153-174
function swap(X, a, b, t)