# prepare 'wc.input' def prepare_wc_input wcinput = File.join(File.dirname($0), 'wc.input') wcbase = File.join(File.dirname($0), 'wc.input.base') unless FileTest.exist?(wcinput) data = File.read(wcbase) 13.times{ data << data } open(wcinput, 'w'){|f| f.write data} end end prepare_wc_input ef='/'>index : ruby.git
The Ruby Programming Language
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgit <svn-admin@ruby-lang.org>2021-10-23 01:33:10 +0900
committergit <svn-admin@ruby-lang.org>2021-10-23 01:33:10 +0900
commit41f6ce9f1cd9c48d787b2f50e0c14f934e9e48d8 (patch)
tree918b60d3e1f9c8c7f712524e2039ac948714fc59
parentdf9fac5ccd905d57251ffa89f28959c1b2a294eb (diff)
* 2021-10-23 [ci skip]