I've created an automated job using UC4 where the job is inserting data from one CSV file example.csv to a table example_table. The job is working fine and it is copying all the data from example.csv to example_table except the first row (i.e., header row that contains the name of columns).
I want to insert this first row (name of columns) of example.csv to example_table. Directly copying the first row and pasting it below is not working. I cannot make any changes to example.csv. Doing research on the internet was not much helpful, so I'm asking here. Is there any bash or shell command to insert the header row to example.csv?
example.csv is looking like this:
A, B, C
1, 2, 3
4, 5, 6
7, 8, 9
example_table is looking like this:
1, 2, 3
4, 5, 6
7, 8, 9
Required/expected example_table is:
A, B, C
1, 2, 3
4, 5, 6
7, 8, 9
