This project aims to be as POSIX complient as possible.
There are no extra options other than described by the POSIX standard,
but there are a few extra programs (like init).
NOTE: if no configure script is available, please run
./autogen.sh
./configure
Common configure options:
| Option | Description |
|---|---|
| --help | see all available options |
| --prefix=PREFIX | installation path |
| --host=HOST | host architecture |
| --enable-extra-progs | enable extra programs (like halt(8)) |
Just a simple
make
NOTE: normally, you shouldn't install this package directly to your system.
Use make DESTDIR=... install
| Name | Is finished? | Has man page? | Notes |
|---|---|---|---|
| basename | β | β | |
| cal | β | β | |
| cat | β | β | |
| chgrp | β | β | |
| chmod | β | β | Add support for u+g etc. |
| chown | β | β | |
| cksum | β | β | |
| cmp | β | β | |
| clear | β | β | Check for portability |
| cp | β | β | Unimplemented options: -p |
| date | β | β | |
| dd | β | β | |
| dirname | β | β | |
| du | β | β | Unimplemented options: -x |
| echo | β | β | |
| ed | β | β | Only basic functionality |
| env | β | β | |
| expr | β | β | |
| false | β | β | Uses the same source-code as true |
| grep | β | β | Unimplemented options: -x |
| halt | β | β | Extra program, Depends on init |
| head | β | β | |
| id | β | β | |
| init | β | β | Extra program |
| kill | β | β | Doesn't support XSI syntax |
| link | β | β | |
| ln | β | β | |
| logname | β | β | |
| login | β | β | Extra program |
| ls | β | β | Unimplemented options: -k, -q, -s, -g, -n, -o, -C, -m, -x, -F, -R, -d |
| mkdir | β | β | |
| mkfifo | β | β | |
| mv | β | β | |
| nice | β | β | |
| pathchk | β | β | |
| printf | β | β | Incomplete format string |
| pwd | β | β | |
| renice | β | β | |
| rm | β | β | |
| rmdir | β | β | |
| sleep | β | β | |
| split | β | β | |
| sync | β | β | Extra program |
| tee | β | β | |
| test | β | β | |
| tr | β | β | Only basic matching |
| true | β | β | |
| tty | β | β | |
| uname | β | β | |
| unlink | β | β | |
| wc | β | β | |
| yes | β | β | Extra program |
Note: if a program has a man page, the tick is a link to it.
Finding sources with missing copyright:
diff <(grep -rn '^//\s*GNU General Public License' src | cut -d':' -f1) <(find src -type f)
Code I used to make the links:
awk -F'|' 'NR>=34&&NR<=74{printf "|%s|%s|%s|%s|\n", $2, $2, $3, $4, $5 }' README.md| sed 's/\s+/ /; s//\s*///; s/\s*././; s/[\s*/ [/; s/\s*]/]/; s/)/) /'