Sha256: a1020ce6f1eb2af8faadf88875b399d3406da5a9886042220040d7b99923f0c4

Contents?: true

Size: 242 Bytes

Versions: 15

Compression:

Stored size: 242 Bytes

Contents

Dir.glob('./*.txt').sort.each do |filename|
  f1=File.basename(filename, '.txt')
  nums=f1.split(/-/)
  text="mv "+filename+" ./STEP-"+nums[1]+".txt\n"
  system text
#  key=nums[0].scan(/\d+/)
#  steps[key] ||=[]
#  steps[key] << nums[1]
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
shunkuntype-1.0.15 lib/data/trans.rb
shunkuntype-1.0.14 lib/data/trans.rb
shunkuntype-1.0.13 lib/data/trans.rb
shunkuntype-1.0.12 lib/data/trans.rb
shunkuntype-1.0.11 lib/data/trans.rb
shunkuntype-1.0.10 lib/data/trans.rb
shunkuntype-1.0.9 lib/data/trans.rb
shunkuntype-1.0.7 lib/data/trans.rb
shunkuntype-1.0.6 lib/data/trans.rb
shunkuntype-1.0.5 lib/data/trans.rb
shunkuntype-1.0.4 lib/data/trans.rb
shunkuntype-1.0.3 lib/data/trans.rb
shunkuntype-1.0.2 lib/data/trans.rb
shunkuntype-1.0.1a lib/data/trans.rb
shunkuntype-1.0.1 lib/data/trans.rb