in reply to Re: Split file based on field
in thread Split file based on field

Your solution has some flaws. It


holli, /regexed monk/

Replies are listed 'Best First'.
Re^3: Split file based on field
by sh1tn (Priest) on Jan 10, 2006 at 12:43 UTC
        # breaks under windows, because you try to use a ":" in a filename
  • ":" can be changed
        assumes the input is sorted and breaks if the is input is not sorted.
  • yes, it is sorted
        opens/closes the file(s) for every! line of input data
  • yes, I can see