diff options
-rw-r--r-- | LOLCat-Rainbow.JPG | bin | 0 -> 42785 bytes | |||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README.md | 32 |
3 files changed, 38 insertions, 1 deletions
diff --git a/LOLCat-Rainbow.JPG b/LOLCat-Rainbow.JPG Binary files differnew file mode 100644 index 0000000..9524d26 --- /dev/null +++ b/LOLCat-Rainbow.JPG @@ -3,4 +3,9 @@ all: lolcat lolcat: lolcat.c fgetwc_fix.c gcc -g -std=c99 -Wall -o lolcat lolcat.c fgetwc_fix.c -# gcc -g -std=c99 -Wall -nostdinc -nostdlib -I/usr/x86_64-linux-uclibc/usr/include -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/include -I/usr/include -L/usr/x86_64-linux-uclibc/usr/lib /usr/x86_64-linux-uclibc/usr/lib/crt1.o -lc -lrt -o lolcat lolcat.c + +install: lolcat + install lolcat /usr/local/bin + +.PHONY: install all + diff --git a/README.md b/README.md new file mode 100644 index 0000000..79a5bdb --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# What? + +![](https://raw.githubusercontent.com/jaseg/lolcat/master/LOLCat-Rainbow.jpg) + +## Screenshot + +![](https://raw.githubusercontent.com/jaseg/lolcat/master/screenshot.png) + +## Installation + +```bash +$ make && sudo make install +``` + +## Why? + +```bash +newton~/d/lolcat <3 dmesg>foo +newton~/d/lolcat <3 cat foo foo foo foo foo foo >bar +newton~/d/lolcat <3 cat bar bar bar bar bar bar >foo +newton~/d/lolcat <3 cat foo foo foo foo foo foo >bar +newton~/d/lolcat <3 cat bar bar bar bar bar bar >foo +newton~/d/lolcat <3 ls -lh foo +-rw-r--r-- 1 jaseg jaseg 578M Oct 25 16:48 foo +newton~/d/lolcat <3 time upstream/bin/lolcat foo +13.51user 1.34system 0:15.99elapsed 92%CPU (0avgtext+0avgdata 10864maxresident)k +0inputs+0outputs (0major+1716minor)pagefaults 0swaps +newton~/d/lolcat <3 time ./lolcat foo +0.02user 0.00system 0:00.09elapsed 34%CPU (0avgtext+0avgdata 1936maxresident)k +0inputs+0outputs (0major+117minor)pagefaults 0swaps +``` + |