From 1eeb00eebb9aed478425fc5a531ec7656c2c5708 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 6 Jan 2017 11:49:29 -0500 Subject: Implement pbcopy and pbpaste in C Ted Unangst broke my netcat implementation of pbpaste with this commit: , 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. --- .bin/pbcopy | 1 - 1 file changed, 1 deletion(-) delete mode 100755 .bin/pbcopy (limited to '.bin/pbcopy') diff --git a/.bin/pbcopy b/.bin/pbcopy deleted file mode 100755 index 925e098e..00000000 --- a/.bin/pbcopy +++ /dev/null @@ -1 +0,0 @@ -exec nc localhost 7062 > /dev/null -- cgit 1.4.1