Question: Piping on Bash, using posix to create read and write a pipe. Please write a program in c++ named readcsv to read the text file

Piping on Bash, using posix to create read and write a pipe.

Please write a program in c++ named readcsv to read the text file famous.csv via its standard input, convert the csv lines to Html table rows writing it to its standard ouput

Write another code named makeatable to read the html table rows and put them into an html table and write a complete html file. in order to convert famous.csv. The use i/o redirection and piping is necessary.

csv file looks something like this

1958,2009, Michael,Joseph,Jackson

1951,2014,Robin,McLaurin,Williams

1978,2020,Kobe,Bean,Bryant

it contains 5 columns with the date of birth, date of death, first, middle, last names

and the html table rows look like

19582009MichaelJosephJackson

19512014RobinMcLaurinWilliams

19782020KobeBeanBryant

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!