I have a text file that I am reading and outputting to another file after adding comma delimiters between each field. I have been able to do this part through a shell script using the echo function. I would also like to get rid of the header row in the new file within the same script. How can I do that?
Original File:
XXXX YYYYY ZZZZZ AAAAA
123 456 789 00011
345 678 233 00023
New File:
123,456,789,00011
345,678,233,00023