README (3867B)
1 sbase - suckless unix tools 2 =========================== 3 4 sbase is a collection of unix tools that are inherently portable across 5 UNIX and UNIX-like systems. 6 7 The complement of sbase is ubase[1] which is Linux-specific and provides 8 all the non-portable tools. Together they are intended to form a base 9 system similar to busybox but much smaller and suckless. 10 11 Building 12 -------- 13 14 To build sbase, simply type make. You may have to fiddle with config.mk 15 depending on your system. 16 17 You can also build sbase-box, which generates a single binary containing 18 all the required tools. You can then symlink the individual tools to 19 sbase-box or run: make sbase-box-install 20 21 To run the tools for sbase-box directly use: sbase-box cmd [args] 22 23 Ideally you will want to statically link sbase. If you are on Linux we 24 recommend using musl-libc[2]. 25 26 Portability 27 ----------- 28 29 sbase has been compiled on a variety of different operating systems, 30 including Linux, *BSD, OSX, Haiku, Solaris, SCO OpenServer and others. 31 32 Various combinations of operating systems and architectures have also 33 been built. 34 35 You can build sbase with gcc, clang, tcc, nwcc and pcc. 36 37 Status 38 ------ 39 40 The following tools are implemented: 41 42 '#' -> UTF-8 support, '=' -> Implicit UTF-8 support, '*' -> Finished, 43 '|' -> Audited, 'o' -> POSIX 2013 compliant, 'x' -> Non-POSIX, 44 '0' -> NUL handling, '()' -> Petty flag 45 46 UTILITY MISSING 47 ------- ------- 48 0=*|o basename . 49 0=*|o cal . 50 0=*|o cat . 51 0=*|o chgrp . 52 0=*|o chmod . 53 0=*|o chown . 54 0=*|x chroot . 55 0=*|o cksum . 56 0=*|o cmp . 57 0#*|x cols . 58 0=*|o comm . 59 0=*|o cp (-i) 60 0=*|x cron . 61 0#*|o cut . 62 0=*|o date . 63 0=*|o dd . 64 0=*|o dirname . 65 0=*|o du . 66 0=*|o echo . 67 o ed . 68 0=*|o env . 69 0#*|o expand . 70 0#*|o expr . 71 0=*|o false . 72 0= find . 73 0=* x flock . 74 0#*|o fold . 75 0=*|o getconf (-v) 76 =*|o grep . 77 0=*|o head . 78 0=*|x hostname . 79 0=*|x install . 80 0=* o join . 81 0=*|o kill . 82 0=*|o link . 83 0=*|o ln . 84 0=*|o logger . 85 0=*|o logname . 86 0#* o ls (-C, -k, -m, -p, -s, -x) 87 0=*|x md5sum . 88 0=*|o mkdir . 89 0=*|o mkfifo . 90 0=*|x mknod . 91 0=*|x mktemp . 92 0=*|o mv (-i) 93 0=*|o nice . 94 0#*|o nl . 95 0=*|o nohup . 96 0=*|o od . 97 #*|o paste . 98 0#* o pathchk . 99 0=*|x printenv . 100 0#*|o printf . 101 0=*|o pwd . 102 0=*|x readlink . 103 0=*|o renice . 104 0#* x rev . 105 0=*|o rm (-i) 106 0=*|o rmdir . 107 # sed . 108 0=*|x seq . 109 0=*|x setsid . 110 0=*|x sha1sum . 111 0=* x sha224sum . 112 0=*|x sha256sum . 113 0=* x sha384sum . 114 0=*|x sha512sum . 115 0=* x sha512-224sum . 116 0=* x sha512-256sum . 117 0=*|o sleep . 118 0#*|o sort . 119 0=*|o split . 120 0=*|x sponge . 121 0#*|o strings . 122 0=*|x sync . 123 0=*|o tail . 124 0=*|x tar . 125 0=*|o tee . 126 0=*|o test . 127 0=*|x tftp . 128 0=*|o time . 129 0=*|o touch . 130 0#*|o tr . 131 0=*|o true . 132 0=* o tsort . 133 0=*|o tty . 134 0=*|o uname . 135 0#*|o unexpand . 136 0=*|o uniq . 137 0=*|o unlink . 138 0=*|o uudecode . 139 0=*|o uuencode . 140 0#*|o wc . 141 0=*|x which . 142 0=*|x whoami . 143 0=*|o xargs (-p) 144 0=*|x yes . 145 146 [1] http://git.suckless.org/ubase/ 147 [2] http://www.musl-libc.org/