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"
#!/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