sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

README (3752B)


      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 Ideally you will want to statically link sbase. If you are on Linux we
     22 recommend using musl-libc[2].
     23 
     24 Portability
     25 -----------
     26 
     27 sbase has been compiled on a variety of different operating systems,
     28 including Linux, *BSD, OSX, Haiku, Solaris, SCO OpenServer and others.
     29 
     30 Various combinations of operating systems and architectures have also
     31 been built.
     32 
     33 You can build sbase with gcc, clang, tcc, nwcc and pcc.
     34 
     35 Status
     36 ------
     37 
     38 The following tools are implemented:
     39 
     40 '#'  -> UTF-8 support, '=' -> Implicit UTF-8 support, '*' -> Finished,
     41 '|'  -> Audited,       'o' -> POSIX 2013 compliant,   'x' -> Non-POSIX,
     42 '0'  -> NUL handling,  '()' -> Petty flag
     43 
     44       UTILITY         MISSING
     45       -------         -------
     46 0=*|o basename        .
     47 0=*|o cal             .
     48 0=*|o cat             .
     49 0=*|o chgrp           .
     50 0=*|o chmod           .
     51 0=*|o chown           .
     52 0=*|x chroot          .
     53 0=*|o cksum           .
     54 0=*|o cmp             .
     55 0#*|x cols            .
     56 0=*|o comm            .
     57 0=*|o cp              (-i)
     58 0=*|x cron            .
     59 0#*|o cut             .
     60 0=*|o date            .
     61 0=*|o dirname         .
     62 0=*|o du              .
     63 0=*|o echo            .
     64     o ed              .
     65 0=*|o env             .
     66 0#*|o expand          .
     67 0#*|o expr            .
     68 0=*|o false           .
     69 0=    find            .
     70 0=* x flock           .
     71 0#*|o fold            .
     72 0=*|o getconf         (-v)
     73  =*|o grep            .
     74 0=*|o head            .
     75 0=*|x hostname        .
     76 0=*|x install         .
     77 0=* o join            .
     78 0=*|o kill            .
     79 0=*|o link            .
     80 0=*|o ln              .
     81 0=*|o logger          .
     82 0=*|o logname         .
     83 0#* o ls              (-C, -k, -m, -p, -s, -x)
     84 0=*|x md5sum          .
     85 0=*|o mkdir           .
     86 0=*|o mkfifo          .
     87 0=*|x mktemp          .
     88 0=*|o mv              (-i)
     89 0=*|o nice            .
     90 0#*|o nl              .
     91 0=*|o nohup           .
     92 0=*|o od              .
     93 0#* o pathchk         .
     94  #*|o paste           .
     95 0=*|x printenv        .
     96 0#*|o printf          .
     97 0=*|o pwd             .
     98 0=*|x readlink        .
     99 0=*|o renice          .
    100 0#* x rev             .
    101 0=*|o rm              (-i)
    102 0=*|o rmdir           .
    103  #    sed             .
    104 0=*|x seq             .
    105 0=*|x setsid          .
    106 0=*|x sha1sum         .
    107 0=* x sha224sum       .
    108 0=*|x sha256sum       .
    109 0=* x sha238sum       .
    110 0=*|x sha512sum       .
    111 0=* x sha512-224sum   .
    112 0=* x sha512-256sum   .
    113 0=*|o sleep           .
    114 0#*|o sort            .
    115 0=*|o split           .
    116 0=*|x sponge          .
    117 0#*|o strings         .
    118 0=*|x sync            .
    119 0=*|o tail            .
    120 0=*|x tar             .
    121 0=*|o tee             .
    122 0=*|o test            .
    123 0=*|x tftp            .
    124 0=*|o time            .
    125 0=*|o touch           .
    126 0#*|o tr              .
    127 0=*|o true            .
    128 0=* o tsort           .
    129 0=*|o tty             .
    130 0=*|o uname           .
    131 0#*|o unexpand        .
    132 0=*|o uniq            .
    133 0=*|o unlink          .
    134 0=*|o uudecode        .
    135 0=*|o uuencode        .
    136 0#*|o wc              .
    137 0=*|x which           .
    138 0=*|x whoami          .
    139 0=*|o xargs           (-p)
    140 0=*|x yes             .
    141 
    142 [1] http://git.suckless.org/ubase/
    143 [2] http://www.musl-libc.org/