4 ms·
> busybox implements a lot of POSIX using awk Citation, please? It looks like busybox implements the 'dos2unix', 'tac', and 'unix2dos' commands as shell scrip
by kiwidrew 9y ago
> busybox implements a lot of POSIX using awk
Citation, please?
It looks like busybox implements the 'dos2unix', 'tac', and 'unix2dos' commands as shell scripts that call 'sed'. And there are a couple of awk scripts (e.g. 'scripts/checkhelp.awk') that are used during the busybox build process. But as far as I can tell, all of the actual busybox applets are written in plain C.
I'd love to be wrong on this point, however -- I think that implementing a full POSIX userspace with just /bin/sh and /bin/awk is an awesome idea!