view unixSoft/bin/afcopy @ 463:1a3f8dff1214

editor: if it looks like I'm over ssh, use vi not emacs
author Augie Fackler <raf@durin42.com>
date Mon, 26 Jun 2017 09:26:59 -0400
parents b5178986dcbb
children 4c5814d3cfd8
line wrap: on
line source

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