FunctionRacerProblemsRace

The Second Column

EasyBasha shell script

Each line of people.csv holds a name, a city and an age with commas between them, like ada,boston,31. Print the cities, one per line, in the order of the file.

Example 1

people.csv
ada,boston,31
ben,miami,27
cy,austin,45
prints
boston
miami
austin

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Bash problems