From: brabuhr@... Date: 2009-10-08T01:09:50+09:00 Subject: Re: lunix split with ruby On Wed, Oct 7, 2009 at 11:57 AM, Ahmet Kilic wrote: >> As as first pass (still won't be quite what you asked for) try changing: >> >>   "split -l 60000 #{file}" >> >> to: >> >>   "split -l 60000 #{file} #{file}-" >> >> that should change the output file names from "x" + "#{counter}" to >> "#{file}" + "-" + "#{counter}" > > thank you for quick reply. I cold not understand  counter. Where is it > coming? > like this counter = 0 > and  counter file + 1 ??? Sorry, yes that was unclear; it was just representing the "aa".."az" that split tacks on to the end of the file name. So, I'm thinking that will produce output files named like: file1.txt-aa file1.txt-ab file1.txt-ac file2.txt-aa file3.txt-ab ...