I have multiple text lists, each representing a column and already in corresponding order.
i.e.
FirstName.txt:
Bob
Sarah
Fred
LastName.txt
Smith
Fulton
Jones
Gender.txt
Male
Female
Male
Age.txt
23
28
31
In BASH, how can I pull the relevant lines together to form a csv formatted entry such as..
FirstName,LastName,Gender,Age
Bob,Smith,Male,23
Sarah,Fulton,Female,28
Fred,Jones,Male,31
With thanks in advance!