Last active
August 29, 2015 14:08
-
-
Save michaelrhodes/b2e7e8aa06e0c178e56e to your computer and use it in GitHub Desktop.
Prepare copied text for pasting into Photoshop by transforming its newlines into end-of-text characters.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pbpaste | tr '\012' '\003' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Octal characters c/o http://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart