Skip to content

repository of useless toy programs and basic coreutils clones.

Notifications You must be signed in to change notification settings

williamgherman/garbage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garbage

Description

Garbage is a repository of useless toy programs and basic coreutils clones.

Program Name Description
cat coreutils cat clone
cp coreutils cp clone
echo coreutils echo clone
fizz modular FizzBuzz
getsize prints terminal rows/cols to stdout
passgen diceware password generator
rps rock, paper, scissors game
snek ncurses snake game
tempcalc temperature converter
yes coreutils yes clone

Dependencies

getsize and snek require a curses implementation like ncurses or similar.
passgen requires sodium.

Installation

All programs should include a Makefile and some include a primitive install as follows:

$ make programname
gcc -c programname.c -Wall -Wextra -Wpedantic -std=c99
gcc -o programname programname.o -Wall -Wextra -Wpedantic -std=c99
$ make install
sudo cp programname /usr/bin/programname

NB: Programs that could potentially rewrite system programs are renamed (e.g., myecho instead of echo).

About

repository of useless toy programs and basic coreutils clones.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published