Question: I am working with linux and am trying to get this script to skip the header of my csv file and print the names. for
I am working with linux and am trying to get this script to skip the header of my csv file and print the names. for some reason it skips the header and reads the name and jumps back up and reads half of the header. i then also want it to concatenate parts of the first and last name but it is not.



OLDIFS-$IFS IFS-"," while read Firstname LastName 0 tail -n +1 echo $FirstName $LastName f-$ cut -cl-2 $FirstName $ cut -c1-6 $LastName id-"$1sf" echo $id done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
