Textmate Ruby Macro Lines to Comma Separated List

Lines to Comma Separated List
#!/usr/bin/env ruby -wKU
STDIN.readlines.each {|e| print e.gsub(/\n/,",")}
print "\n"

#Set Save "Nothing"
#Set Input "Selected Text" or "Character"
# and
#Set Output "Replace Selected Text"

Comments

Popular posts from this blog

Vim vi how to reload a file your editing