[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