Prepare POSIX 2013 audit

I can't believe we've come this far! The idea is to look at the
2013 POSIX corrigendum for each tool and deep-test features before
making the first 0.1 release.
To keep the noise low, I'll do this in batches, not on a per-tool-
basis (as many of these are trivial to test).
In the meantime, I'll also think of a fitting STANDARDS section
for the non-POSIX tools. Now that the audits are pretty much done,
I can also have a more relaxed view on standards compliance instead
of having to dig through some uncleaned mess.

To mark this "new beginning", the README has gotten a liftover.
The POSIX 2008-column was more or less useless and as I expect the
checks to go along pretty quickly, I "reset" the compliance state
of all but the non-POSIX tools and will then go along and check every
single one of them in the next few days.

Apart from the few missing flags and audits, sbase should then be
ready to hit the world with the first release after 4 years of work.
This commit is contained in:
FRIGN 2015-03-23 16:22:00 +01:00
parent 49e27c1b0c
commit 4750b233ce

171
README
View File

@ -4,91 +4,94 @@ sbase - suckless unix tools
sbase is a collection of unix tools that are inherently portable sbase is a collection of unix tools that are inherently portable
across UNIX and UNIX-like systems. across UNIX and UNIX-like systems.
The following tools are implemented ('*' == finished, '#' == UTF-8 support, The following tools are implemented:
'=' == implicit UTF-8 support, '|' == audited, () == petty flag):
UTILITY POSIX 2008 COMPLIANT MISSING OPTIONS '#' -> UTF-8 support, '=' -> Implicit UTF-8 support, '*' -> Finished,
------- -------------------- --------------- '|' -> Audited, 'o' -> POSIX 2013 compliant, 'x' -> Non-POSIX,
=*| basename yes none '()' -> Petty flag
=*| cal yes none
=*| cat yes none UTILITY MISSING FLAGS
=*| chgrp yes none ------- -------------
=*| chmod yes none =*| basename .
=*| chown yes none =*| cal .
=*| chroot non-posix none =*| cat .
=*| cksum yes none =*| chgrp .
=*| cmp yes none =*| chmod .
#*| cols non-posix none =*| chown .
#*| col non-posix none =*|x chroot .
=*| comm yes none =*| cksum .
=*| cp yes none (-i) =*| cmp .
=*| cron non-posix none #*|x cols .
#*| cut yes none #*|x col .
=*| date yes none =*| comm .
=*| dirname yes none =*| cp (-i)
=*| du yes none =*|x cron .
=*| echo yes none #*| cut .
=*| env yes none =*| date .
#*| expand yes none =*| dirname .
#*| expr yes none =*| du .
=*| false yes none =*| echo .
= find yes none =*| env .
#*| fold yes none #*| expand .
=* grep yes none #*| expr .
=*| head yes none =*| false .
=*| hostname non-posix none = find .
=*| kill yes none #*| fold .
=*| link yes none =* grep .
=*| ln yes none =*| head .
=*| logger yes none =*|x hostname .
=*| logname yes none =*| kill .
#* ls no none (-C, -m, -s, -x) =*| link .
=*| md5sum non-posix none =*| ln .
=*| mkdir yes none =*| logger .
=*| mkfifo yes none =*| logname .
=*| mktemp non-posix none #* ls (-C, -m, -s, -x)
=*| mv yes none (-i) =*|x md5sum .
=*| nice yes none =*| mkdir .
#*| nl yes none =*| mkfifo .
=*| nohup yes none =*|x mktemp .
#*| paste yes none =*| mv (-i)
=*| printenv non-posix none =*| nice .
#*| printf yes none #*| nl .
=*| pwd yes none =*| nohup .
=*| readlink non-posix none #*| paste .
=*| renice yes none =*|x printenv .
=*| rm yes none (-i) #*| printf .
=*| rmdir yes none =*| pwd .
# sed yes none =*|x readlink .
=*| seq non-posix none =*| renice .
=*| setsid non-posix none =*| rm (-i)
=*| sha1sum non-posix none =*| rmdir .
=*| sha256sum non-posix none # sed .
=*| sha512sum non-posix none =*|x seq .
=*| sleep yes none =*|x setsid .
sort no -d, -f, -i =*|x sha1sum .
=*| split yes none =*|x sha256sum .
=*| sponge non-posix none =*|x sha512sum .
#*| strings yes none =*| sleep .
=*| sync non-posix none sort -d, -f, -i
=*| tail yes none =*| split .
=*| tar non-posix none =*|x sponge .
=*| tee yes none #*| strings .
=*| test yes none =*|x sync .
=*| time yes none =*| tail .
=*| touch yes none =*|x tar .
#*| tr yes none =*| tee .
=*| true yes none =*| test .
=*| tty yes none =*| time .
=*| uname yes none =*| touch .
#*| unexpand yes none #*| tr .
=*| uniq yes none =*| true .
=*| unlink yes none =*| tty .
=*| uudecode yes none =*| uname .
=*| uuencode yes none #*| unexpand .
#*| wc yes none =*| uniq .
=*| xargs no none (-p) =*| unlink .
=*| yes non-posix none =*| uudecode .
=*| uuencode .
#*| wc .
=*| xargs (-p)
=*|x yes .
The complement of sbase is ubase[1] which is Linux-specific and The complement of sbase is ubase[1] which is Linux-specific and
provides all the non-portable tools. Together they are intended to provides all the non-portable tools. Together they are intended to