|
Versions Of This Snippet::
Download a raw-text version of this code by clicking on "Download Version"
Latest Snippet Version: :1.0.1
def squeeze
ARGV.each{ |f|
fl = File.new(f).readlines
fl.uniq!
esc = File.open("#{f}","w")
fl.each{ |l| esc.print l}
esc.close
}
end
Submit a new versionYou can submit a new version of this snippet if you have modified it and you feel it is appropriate to share with others..
|
||||||||||||||||||||||||||||||||||||
