[Originally posted by SineX]

The problem:

I have a lists
1 a   w
2 b   x
  c   y
  z

I have a file that says
#LIST1##LIST2##LIST3#

I read in the above file and based on it print
files that read (each line as a different file)
1aw
1ax
1ay
1az
1bw
1bx
1by
1bz
(ect... every possible comibination)

Now the real problem, the number of lists (ie the 1-2,abc, and wxyz) can be selected by the user.
and the number if items in the colums 1-2,abc, wxyz) can be configured by the user.
So potentialy i could have a list like

1 a   23   t   q
2 b   45   d   w
3 x b   e
4 y e   r
5   t
y

The only thing that would be conistant is that
there would be a differnet listing inside the file
i input
#LIST1# #LIST2# ECT... to number of lists
so...
How the heck does one do this????
I've been working on it for a week and I can't get it.

-SineX
*sorry about the formatting but this thing won't let me use tabs