diff unixSoft/bin/afcopy @ 409:b5178986dcbb

af{copy,paste}: scripts so I can copy/paste with pipes across platforms
author Augie Fackler <raf@durin42.com>
date Thu, 04 Aug 2016 10:10:09 -0400
parents
children 4c5814d3cfd8
line wrap: on
line diff
new file mode 100755
--- /dev/null
+++ b/unixSoft/bin/afcopy
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ `uname` = Darwin ] ; then
+  pbcopy
+else
+  xclip -selection clipboard
+fi