annotate unixSoft/bin/afpaste @ 448:80a16882bd9e

hg-hacking-tools: place to collect shell functions to make hg hacking easier
author Augie Fackler <raf@durin42.com>
date Wed, 04 Oct 2017 09:25:51 -0400
parents b5178986dcbb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
409
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 #!/bin/sh
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
2 if [ `uname` = Darwin ] ; then
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3 pbpaste
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
4 else
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
5 xclip -selection clipboard -out
b5178986dcbb af{copy,paste}: scripts so I can copy/paste with pipes across platforms
Augie Fackler <raf@durin42.com>
parents:
diff changeset
6 fi