summary refs log tree commit diff
path: root/install.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-01-06 11:49:29 -0500
committerJune McEnroe <june@causal.agency>2017-01-06 11:55:02 -0500
commit1eeb00eebb9aed478425fc5a531ec7656c2c5708 (patch)
tree1552211b217d72299161f2aa3b0759f3dc57fbd9 /install.sh
parentAdd custom keyboard layout for macOS (diff)
downloadsrc-1eeb00eebb9aed478425fc5a531ec7656c2c5708.tar.gz
src-1eeb00eebb9aed478425fc5a531ec7656c2c5708.zip
Implement pbcopy and pbpaste in C
Ted Unangst broke my netcat implementation of pbpaste with this commit:
<https://github.com/openbsd/src/commit/bb978d8>, which, when /dev/null
is attached to stdin, causes nc to exit and never read from the socket.

Turns out the core functionality of netcat can be implemented in about
50 lines of C.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index eba39dbe..3c0c5ed3 100755
--- a/install.sh
+++ b/install.sh
@@ -28,9 +28,8 @@ fi
 
 link .bin/jrp.c
 link .bin/manpager
-link .bin/pbcopy
+link .bin/pbcopy.c
 link .bin/pbd.c
-link .bin/pbpaste
 link .bin/xx.c
 link .config/git/config
 link .config/git/ignore