Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

110 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

A small set of narrowly POSIX-complient utils

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages