# HG changeset patch # User Augie Fackler # Date 1470319809 14400 # Node ID b5178986dcbb2273054a8cfc859179a2873b1bda # Parent 8571fe4846900f171882884ad3778d1324d46110 af{copy,paste}: scripts so I can copy/paste with pipes across platforms diff --git a/unixSoft/bin/afcopy b/unixSoft/bin/afcopy 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 diff --git a/unixSoft/bin/afpaste b/unixSoft/bin/afpaste new file mode 100755 --- /dev/null +++ b/unixSoft/bin/afpaste @@ -0,0 +1,6 @@ +#!/bin/sh +if [ `uname` = Darwin ] ; then + pbpaste +else + xclip -selection clipboard -out +fi