FunctionRacerProblemsRace

Only in the First

HardBasha shell script

old.txt and new.txt each hold a list of names, one per line, both already in alphabetical order. Print the names that are in old.txt and not in new.txt.

Example 1

old.txt
ada
ben
cy
dee
new.txt
ben
dee
eli
prints
ada
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