Textmate Ruby Macro - Remove Line Numbers

Textmate Ruby Macro - Remove Line Numbers
#!/usr/bin/env ruby -wKU
STDIN.readlines.each {|e| print e.gsub(/\A\d+/,"")  }

#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