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.

I am working with linux and am trying to get this scriptto skip the header of my csv file and print the names.for some reason it skips the header and reads the name and

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!