/coreutils

Rewrite of the core utilities

Primary LanguageC

coreutils

Rewrite of some core utilities for educational purposes. I try to follow the POSIX version of those commands for simplicity sake, e.g man 1p ls.

Name Description
mkdir make directories
basename strip directory and suffix from filenames
rm remove files or directories
seq print a sequence of numbers
tee read from standard input and write to standard output and files
shuf generate random permutations
echo display a line of text
yes output a string repeatedly until killed
df report free disk space
strings find printable strings in files

Pending

Name Description
cut remove sections from each line of files
uniq report or omit repeated lines
tr translate or delete characters
chown change file owner and group
xargs construct argument lists and invoke utility
ps report process status

TODO

Name Description
cp
chmod
ln
mv
touch
cat
tail
test
sort
dirname
date
du
expr