Is there a way to split a file into multiple files with the output names
being a part of the input?

Given something like this:

1 2 name1 3 4
3 4 name2 4 5
4 5 name2 5 6
5 6 name3 6 7

Ignore the numbers, they just represent other fields. I would like to split
that into files with the names of the third field. I won't necessarily know
the values, so a large 'if' type structure won't work.

Thanks!

--
Rich Smrcina

Reply via email to