2025-05-22 12:02:58 +02:00
2025-05-22 12:02:58 +02:00

A POZig Core

A recreation of the posix utilities I make to learn zig

What is in here

Mandatory utilities:

Utility Status Notes
alias TODO sh builtin
ar TODO
at TODO
awk TODO
basename TODO
batch TODO
bc TODO
cat TODO
cd TODO sh builtin
chgrp TODO
chmod TODO
chown TODO
cksum TODO
cmp TODO
comm TODO
command TODO sh builtin
cp TODO
crontab NOT PLANNED needs to be a system service
csplit TODO
cut TODO
date TODO
dd TODO
df TODO
diff TODO
dirname TODO
du TODO
echo TODO sh builtin
ed TODO
env TODO
expand TODO
expr TODO
false TODO
file TODO
find TODO
fold TODO
gencat TODO
getconf TODO
getopts TODO
gettext NOT PLANNED Not covering the locale system
grep TODO
hash TODO
head TODO
iconv TODO
id TODO
join TODO
kill TODO
ln TODO
localedef NOT PLANNED Not covering the locale system
locale NOT PLANNED Not covering the locale system
logger TODO
logname TODO
lp NOT PLANNED Not covering printing
ls TODO
m4 TODO
mailx TODO Not covering mail
man NOT PLANNED Not covering man
mesg NOT PLANNED Not covering low level tty
mkdir TODO
mkfifo TODO
msgfmt NOT PLANNED Not covering the locale system
mv TODO
newgrp TODO
ngettext NOTPLANNED Not covering the locale system
nice TODO
nohup TODO
od TODO
paste TODO
patch TODO
pathchk TODO
pax TODO
pr TODO
printf TODO
ps TODO
pwd TODO
read TODO sh builtin
readlink TODO
realpath TODO
renice TODO
rm TODO
rmdir TODO
sed TODO
sh TODO
sleep TODO
sort TODO
split TODO
strings TODO
stty NOT PLANNED Not covering low level tty
tabs NOT PLANNED Not covering low level tty
tail TODO
tee TODO
test TODO
time TODO
timeout TODO
touch TODO
tput NOT PLANNED Not covering low level tty
tr TODO
true TODO
tsort TODO
tty NOT PLANNED Not covering low level tty
umask TODO
unalias TODO sh builtin
uname TODO
unexpand TODO
uniq TODO
uudecode TODO
uuencode TODO
wait TODO
wc TODO
write NOT PLANNED Not covering low level tty
xargs TODO

Optional utilities I want to support at some point:

Utility Status Notes
bg - sh builtin
fg - sh builtin
jobs - sh builtin
more TODO

License

Copyright (c) 2025 Annwan

This software is a hacky mess, use at your own risk.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description
A recreation of the posix utilities in Zig to learn the language
Readme 30 KiB