summary refs log tree commit diff
path: root/.bin/pbcopy.c (follow)
Commit message (Collapse)AuthorAge
* Add include so that pbcopy.c compiles on FreeBSDJune McEnroe2017-01-08
|
* Implement pbcopy and pbpaste in CJune McEnroe2017-01-06
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.