summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-01-21 18:10:14 -0500
committerJune McEnroe <programble@gmail.com>2017-01-21 18:10:14 -0500
commit28ccdf9faf9852166d10187372705729e643040a (patch)
tree566951f83c733df2e90adbd8dbc671ff2c2ac9e3
parentUpdate README (diff)
downloadsrc-28ccdf9faf9852166d10187372705729e643040a.tar.gz
src-28ccdf9faf9852166d10187372705729e643040a.zip
Add short descriptions to C utilities
Diffstat (limited to '')
-rwxr-xr-x.bin/clock.c2
-rwxr-xr-x.bin/jrp.c2
-rwxr-xr-x.bin/pbcopy.c2
-rwxr-xr-x.bin/pbd.c2
-rwxr-xr-x.bin/xx.c2
5 files changed, 10 insertions, 0 deletions
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 <time.h>
 #include <stdio.h>
 #include <sysexits.h>
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 <err.h>
 #include <histedit.h>
 #include <stdbool.h>
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 <arpa/inet.h>
 #include <err.h>
 #include <netinet/in.h>
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 <err.h>
 #include <netinet/in.h>
 #include <stdint.h>
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 <ctype.h>
 #include <err.h>
 #include <stdbool.h>