From 28ccdf9faf9852166d10187372705729e643040a Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 21 Jan 2017 18:10:14 -0500 Subject: Add short descriptions to C utilities --- .bin/clock.c | 2 ++ .bin/jrp.c | 2 ++ .bin/pbcopy.c | 2 ++ .bin/pbd.c | 2 ++ .bin/xx.c | 2 ++ 5 files changed, 10 insertions(+) diff --git a/.bin/clock.c b/.bin/clock.c index 43bad259..f153126a 100755 --- a/.bin/clock.c +++ b/.bin/clock.c @@ -2,6 +2,8 @@ exec cc -Wall -Wextra -pedantic $@ -o $(dirname $0)/clock $0 #endif +// Fuzzy clock for display in tmux. + #include #include #include diff --git a/.bin/jrp.c b/.bin/jrp.c index d6a9272f..9317ac8e 100755 --- a/.bin/jrp.c +++ b/.bin/jrp.c @@ -2,6 +2,8 @@ exec cc -Wall -Wextra -pedantic $@ $0 -ledit -o $(dirname $0)/jrp #endif +// JIT RPN calculator. + #include #include #include diff --git a/.bin/pbcopy.c b/.bin/pbcopy.c index c341497a..852da68d 100755 --- a/.bin/pbcopy.c +++ b/.bin/pbcopy.c @@ -3,6 +3,8 @@ cc -Wall -Wextra -pedantic $@ -o $(dirname $0)/pbcopy $0 && \ exec cc -Wall -Wextra -pedantic -DPBPASTE $@ -o $(dirname $0)/pbpaste $0 #endif +// pbcopy and pbpaste implementation which connects to pbd. + #include #include #include diff --git a/.bin/pbd.c b/.bin/pbd.c index fda7c941..b01f80c3 100755 --- a/.bin/pbd.c +++ b/.bin/pbd.c @@ -2,6 +2,8 @@ exec cc -Wall -Wextra -pedantic $@ -o $(dirname $0)/pbd $0 #endif +// TCP server which pipes between macOS pbcopy and pbpaste. + #include #include #include diff --git a/.bin/xx.c b/.bin/xx.c index 9ffd0b9b..6af0d6a7 100755 --- a/.bin/xx.c +++ b/.bin/xx.c @@ -2,6 +2,8 @@ exec cc -Wall -Wextra -pedantic $@ -o $(dirname $0)/xx $0 #endif +// Hexdump. + #include #include #include -- cgit 1.4.1