Hello,
I'm trying to write an script that in a txt with lines with 2 or more columns separated by commas, like
hello, one, two
bye, goal
first, second, third, fourth
hard, difficult.strong, word.line
will create another in which if a line has more than 2 columns, it will have another line and with only the 1st and 2nd column, another line with 1st and 3rd column, etc . Like this:
hello, one
hello, two
bye, goal
first, second
first, third
first, fourth
hard, difficult.strong
hard, word.line
Any help or tip?
Thank you very much:)