Skip to content

gnux v1.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 14:43
· 37 commits to main since this release
ac9dbe4

gnux 1.2.0 completes GNU coreutils: the last fourteen tools arrive, so every coreutils tool is
in gnux but chroot, chcon and runcon, which stay out by design, 108 tools in all. Each new
tool is checked against GNU coreutils 9.7 by the conformance harness, 139 new cases. The
reference is no longer committed but built where it is used, and the website now serves it as
YAML for AI tools and scripts.

Added

  • basencx: base64, base64url, base32, base32hex, base16, base2 (either bit order) and Z85,
    encoding and decoding, through the engine base64x and base32x share.
  • numfmtx: GNU numfmt's conversions to and from 1.5k, 2.0Mi and the like, with its rounding
    methods, padding, field selection, --format, --invalid modes and diagnostics.
  • prx: GNU pr's pages, headers and footers, columns down (balanced) or across, files side by
    side with -m, line numbering, separators, tab handling and page ranges, reading its command
    line as GNU's getopt does.
  • ptxx: GNU ptx's permuted index, in the dumb, roff and TeX formats, with references, word
    lists, break files and the Emacs regular expressions it uses.
  • sttyx: GNU stty on Linux, macOS and FreeBSD, with each system's modes, control characters,
    speeds, window size, -a, and -g that reads back.
  • shredx: GNU shred's passes, -u with its renaming before removal, -v progress, -x, -z,
    -s and --random-source.
  • dircolorsx (with GNU 9.7's color database), pinkyx, pathchkx, syncx, mkfifox,
    mknodx, hostidx and stdbufx (gnux tools run in-process; other programs get GNU's
    libstdbuf.so when it is installed).
  • Each release carries its own website docs, gnux-docs-vX.Y.Z.tar.gz, packed by GoReleaser
    with the tag's generator and listed in the signed checksums.txt. The website's build
    downloads the archive of the latest patch of every minor version, checks it and unpacks it
    for the version picker (web/scripts/docs-versions.mjs), so the docs of past releases are no
    longer committed to main and the release no longer pushes a snapshot commit there. Set
    GITHUB_TOKEN where the website is built to keep its one API call off the shared rate limit.
  • The reference as YAML on the website, one file per page at /reference/yaml/ (for example
    /reference/yaml/rmx/index.yaml), all of them listed in llms.txt, so AI tools and scripts
    can read each tool's options and examples as data.

Changed

  • The generated reference is no longer committed. documentation/markdown, man, yaml and
    rest, and the website's pages in web/content/docs, are built where they are used: the website build generates its pages, GoReleaser the
    man pages it ships, and the Docs workflow generates everything, tests the generator and keeps
    the markdown and man reference as a run artifact. make docs still writes them all locally.
    The pre-push hook and make docs/check, which compared committed copies, are gone. The
    hand-written guides link to reference pages by their website address, which works on GitHub
    and stays on the site when read there.

Fixed

  • In the docs sidebar, a tool with no option pages is a plain link rather than a folder with
    nothing to open, in the docs of past releases too (tools/docsnap flattens such folders).
  • The Git hooks clear a GOROOT left over from another Go installation, which made the lint
    compile with the wrong toolchain.
  • The Homebrew cask clears the quarantine flag with Homebrew's declarative postflight_steps
    instead of the deprecated postflight block, so brew no longer warns about the tap.