FunctionRacerProblemsRace

On One Line

MediumBasha shell script

names.txt has one name per line. Print them all on one line with a comma between each two, like ada,ben,cy: no comma at the end.

Example 1

names.txt
ada
ben
cy
prints
ada,ben,cy

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