diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-12-22 11:03:55 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-12-22 11:04:27 +1300 |
commit | d9570437e296c35c6bce691027530f4d67dd7ef3 (patch) | |
tree | 8fa75012b42353fed87505f40d13f2ec79a5db02 | |
parent | e30920354f8c4513150c61385220a8e75448d833 (diff) |
Remove incorrectly added `update.rb` file.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5319
-rwxr-xr-x | update.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/update.rb b/update.rb deleted file mode 100755 index 87364d80aa..0000000000 --- a/update.rb +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env ruby - -RESULT = / * #(.*?)/ -CODE = / * (.*?)/ - -ARGV.each do |path| - lines = File.readlines(path) - - lines.each do |line| - if line =~ /\/\*/ - last = nil - elsif match = line.match(RESULT) - line.replace(" * \# => #{last}") - elsif match = line.match(CODE) - last = eval(match[1]) - end - end - - puts lines -end |