Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

Students also viewed these Databases questions

Question

Discuss the purposes for which data mining can be used.

Answered: 1 week ago