FunctionRacerProblemsRace

Three Largest Numbers

EasyBasha shell script

nums.txt has one whole number per line. Print the three largest, the largest first.

Example 1

nums.txt
9
120
7
45
10
prints
120
45
10

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