Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [[ $(uname) == 'Darwin' ]]; then
- pbcopy < $temp
- else if [[ $(uname) == 'Linux' ]]; then
- cat $temp | xclip -sel clip
- else if [[ ${$(uname):0:6} == 'CYGWIN' ]]; then
- putclip < $temp
- fi
Advertisement
Add Comment
Please, Sign In to add comment