TCU

A reimplementation of the BSD core utilities written in C.
Log | Files | Refs | README | LICENSE

commit a17bebacb046c3ff396435758de08b8eb90b2560
parent 7b33c738b50e5e86ac38b8cf623a493b9e5675ea
Author: Tyler Clark <tyler.clark@foxide.xyz>
Date:   Sun,  9 Feb 2025 21:42:27 -0500

Added list of completed files and the 'true' program

Diffstat:
MMakefile | 4+++-
DREADME | 3---
AREADME.md | 112+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/true.c | 3+++
4 files changed, 118 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,6 @@ CC = clang all: - for files in echo false head yes ; do \ + for files in echo false head true yes ; do \ $(CC) src/$${files}.c -o bin/$${files} ; \ done @@ -17,6 +17,8 @@ head: $(CC) src/head.c -o bin/head seq: $(CC) src/seq.c -o bin/seq +true: + $(CC) src/true.c -o bin/true yes: $(CC) src/yes.c -o bin/yes diff --git a/README b/README @@ -1,3 +0,0 @@ -Terrible Core Utils - TCU -This is a collection of core utilities written by someone that does not know what they are doing. -These core utilities are likely to be absolutely terrible, and are not to be used as the primary core utilities of a system. diff --git a/README.md b/README.md @@ -0,0 +1,111 @@ +Terrible Core Utils - TCU +This is a collection of core utilities written by someone that does not know what they are doing. +These core utilities are likely to be absolutely terrible, and are not to be used as the primary core utilities of a system. + +Below are a list of completed programs + +- [ ] chcon +- [ ] chgrp +- [ ] chown +- [ ] chmod +- [ ] cp +- [ ] dd +- [ ] df +- [ ] dir +- [ ] dircolors +- [ ] install +- [ ] ln +- [ ] ls +- [ ] mkdir +- [ ] mkfifo +- [ ] mknod +- [ ] mktemp +- [ ] mv +- [ ] realpath +- [ ] rm +- [ ] rmdir +- [ ] shred +- [ ] sync +- [ ] touch +- [ ] truncate +- [ ] vdir +- [ ] b2sum +- [ ] base32 +- [ ] base64 +- [ ] cat +- [ ] cksum +- [ ] comm +- [ ] csplit +- [ ] cut +- [ ] expand +- [ ] fmt +- [ ] fold +- [X] head +- [ ] join +- [ ] md5sum +- [ ] nl +- [ ] numfmt +- [ ] od +- [ ] paste +- [ ] ptx +- [ ] pr +- [ ] sha1sum +- [ ] sha224sum +- [ ] sha256sum +- [ ] sha384sum +- [ ] sha512sum +- [ ] shuf +- [ ] sort +- [ ] split +- [ ] sum +- [ ] tac +- [ ] tail +- [ ] tr +- [ ] tsort +- [ ] unexpand +- [ ] uniq +- [ ] wc +- [ ] arch +- [ ] basename +- [ ] chroot +- [ ] date +- [ ] dirname +- [ ] du +- [X] echo +- [ ] env +- [ ] expr +- [ ] factor +- [X] false +- [ ] groups +- [ ] hostid +- [ ] id +- [ ] link +- [ ] logname +- [ ] nice +- [ ] nohup +- [ ] nproc +- [ ] pathchk +- [ ] pinky +- [ ] printenv +- [ ] printf +- [ ] pwd +- [ ] readlink +- [ ] runcon +- [ ] seq +- [ ] sleep +- [ ] stat +- [ ] stdbuf +- [ ] stty +- [ ] tee +- [ ] test +- [ ] timeout +- [X] true +- [ ] tty +- [ ] uname +- [ ] unlink +- [ ] uptime +- [ ] users +- [ ] who +- [ ] whoami +- [X] yes +- [ ] [ +\ No newline at end of file diff --git a/src/true.c b/src/true.c @@ -0,0 +1,3 @@ +/* Terrible implementation of true */ +/* For licensing information please read the LICENSE file included in this repository */ +int main() { return 0; }