Re:Gonix – Unix tools written in Go
by pixelbeat on Saturday May 09, 2015 @07:26AM
(#9516081)
A few data points on GNU coreutils.
1. It has a fairly good test suite, that rewrites should leverage. That can be easily done by setting $PATH to prepend the dir of the new tools, and running `make check`
2. To give an indication of the size of coreutils:
$ for r in gnulib coreutils; do (cd $r && git ls-files | tr '\n' '\0' | wc -l --files0-from=- | tail -n1); done
Re:Gonix – Unix tools written in Go
by pixelbeat on Saturday May 09, 2015 @07:30AM
(#9516097)
It's also worth pointing out, since busybox was mentioned a few times, that the latest release of coreutils has the ./configure --enable-single-binary option to build as a multi-call binary linke busybox etc.
1. It has a fairly good test suite, that rewrites should leverage. That can be easily done by setting $PATH to prepend the dir of the new tools, and running `make check`
2. To give an indication of the size of coreutils:
$ for r in gnulib coreutils; do (cd $r && git ls-files | tr '\n' '\0' | wc -l --files0-from=- | tail -n1); done
985050 total 243154 total