Old core utilities for the previous era.
Go to file
2024-05-08 08:25:34 -06:00
docs Remove sleep(1)s man page; see the POSIX man page 2024-05-08 07:56:07 -06:00
include GNUmakefile, intcmp(1), npc(1), scrut(1), str(1), strcmp(1), include/sysexits.h: added fallback header file for when systems don’t have sysexits.h(3) 2023-12-25 21:50:45 -07:00
src sleep(1): reduce dependence on sysexits 2024-05-03 21:22:38 -06:00
tests Makefile, .gitignore, tests/cc-compat.sh: brought up-to-date 2024-02-07 20:13:45 -07:00
.editorconfig .editorconfig: remove stale configure config 2024-02-17 23:25:35 -07:00
.gitignore Makefile, .gitignore, tests/cc-compat.sh: brought up-to-date 2024-02-07 20:13:45 -07:00
CONTRIBUTING CONTRIBUTING: fixed random "utils" 2024-02-23 23:19:28 -07:00
COPYING initial commit 2023-07-23 19:49:57 -06:00
Makefile Merge remote-tracking branch 'origin/sleep' 2024-05-08 07:53:38 -06:00
README Bonsix fork 2024-05-08 08:25:34 -06:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

For the Bonsai coreutils, a better Unix toolset, please visit
<https://git.tebibyte.media/bonsai/coreutils>.

      wwwww        /
     wWWWWWw      /_  _____ _       *       "It's not a very good tree, but
      w|||w      /  \/  \ /  | /\  / /|/     occasionally it bears fruit!"
     _,|||._   _/\__/|__//  /_/_|_/_//|__
     bonsix : "BOHN zix" : "Bonsai" but "POSIX"

The excellent Bonsai core utilities are the result of the careful examination
of the current state of POSIX and Unix utilities, ironing out wrinkles in the
implementations that ended up being worn by the POSIX standard. Bonsai's
guiding quote is this one from Matsuo Basho:

"Seek not to walk the path of the masters; seek what they sought."

Unlike Bonsai, Bonsix intends to walk the path of the masters, implementing a
POSIX userland under an AGPLv3 license and taking inspiration from the
practices used by Bonsai.

Building

Bonsix requires an existing POSIX-compliant environment to compile, including a
C compiler and preprocessor (cc(1) and cpp(1) by default) and a POSIX-compliant
make(1) utility.

To build and install:

$ make
$ make PREFIX="/your/preferred/location" install

To build with a different compiler than the default:

$ make CC=clang

--
Copyright © 20232024 Emma Tebibyte <emma@tebibyte.media>
Copyright © 2024 DTB <trinity@trinity.moe>

This work is licensed under CC BY-SA 4.0. To view a copy of this license, visit
<http://creativecommons.org/licenses/by-sa/4.0/>.