Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started