view unixSoft/bin/afpaste @ 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
line wrap: on
line source

#!/bin/sh
if [ `uname` = Darwin ] ; then
  pbpaste
else
  xclip -selection clipboard -out
fi