/microcoreutils

A small set of narrowly POSIX-complient utils

Primary LanguageCGNU General Public License v3.0GPL-3.0

Narrowly-POSIX complient UNIX tools

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).

Building/Installation

Configuration

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))

Building

Just a simple
make

Installation

NOTE: normally, you shouldn't install this package directly to your system.
Use make DESTDIR=... install

Programs

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.

Notes

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/)/) /'