I have identifiers in the first column of data.csv with headers. I want to skip the header and save the values โโof column 1 in the ids variable as 102 103 104 ... Pseudocode in line ids.append($col1) , where I want to add the current line value to the end of the line with a space
# http://stackoverflow.com/a/4286841/54964 while IFS=, read col1 do ids.append($col1)
data.csv
102 103 104
Expected Result
ids=( 102 103 104 )
OS: Debian 8.5
Bash: 4.3.30 (1)
bash bash4
Lรฉo Lรฉopold Hertz ์ค์ 30 Oct. '16 at 16:49 2016-10-30 16:49
source share