userland: add archive tools and pinned GoAWK, esbuild, and QuickJS

This commit is contained in:
2026-11-07 10:56:29 +00:00
parent 7e7e49bfa2
commit d79b2bc2e1
1798 changed files with 562969 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
# Translate this shell script into gawk:
#
#! /bin/sh -
#
# awktest()
# {
# echo a:b:c | $AWK -F":" '{$2="x"; OFS=FS; print}'
# echo a:b:c | $AWK -F":" '{$2="x"; print; OFS=FS; print}'
# echo a:b:c | $AWK -F":" '{$2="x"; print $1; OFS=FS; print}'
# echo a:b:c | $AWK -F":" '{$2="x"; print; $2=$2; OFS=FS; print}'
# }
#
# AWK=./gawk
# awktest > foo.gawk
BEGIN { FS = ":" }
# Have to reset OFS at end since not running separate invocations
FNR == 1 { $2 = "x"; OFS = FS; print ; OFS = " "}
FNR == 2 { $2 = "x"; print; OFS = FS; print ; OFS = " "}
FNR == 3 { $2 = "x"; print $1; OFS = FS; print ; OFS = " "}
FNR == 4 { $2 = "x"; print; $2 = $2; OFS = FS; print }