Need an Introduction to Tiny Core? Or peruse Core Concepts.
Why AWK?Initially pkutils were a set of the POSIX shell scripts with some helper scripts in AWK for processing the PACKAGES files. But eventually the AWK code became greater than the Shell one.Also I quite liked the AWK since its syntax resembles C and it is very simple and primitive (as opposed to monsters like Python or Ruby). If pkutils will survive, I think it will be rewritten in something like Go or Rust.I understand that AWK is not supposed to be used in the way I use it, but who cares.
/usr/bin/gawk -f "pkutils.pkupd.awk" -- $*exit $?