Skip to content

Instantly share code, notes, and snippets.

@ayweak
Last active August 29, 2015 13:56
Show Gist options
  • Save ayweak/9227106 to your computer and use it in GitHub Desktop.
Save ayweak/9227106 to your computer and use it in GitHub Desktop.
Cygwin にクリップボードの内容を渡したり、Cygwin の出力をクリップボードに貼り付けたりする。
#!/usr/bin/sh
cat /dev/clipboard | dos2unix
#!/usr/bin/sh
cat /dev/stdin | unix2dos > /dev/clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment