On 24. Feb 2007, at 18:28, Thomas Aylott (subtleGradient) wrote:
#!/usr/bin/env ruby require ENV['TM_SUPPORT_PATH'] + "/lib/escape.rb" print "${0:#{e_snp(`pbpaste`)}}"
If you need to paste more than plain ASCII, you unfortunately need to invoke pbpaste as shown below:
#!/usr/bin/env ruby require ENV['TM_SUPPORT_PATH'] + "/lib/escape.rb" print "${0:#{e_snp(`__CF_USER_TEXT_ENCODING=$UID: 0x8000100:0x8000100 pbpaste`)}}"