Skip to content
TerminalThe orders report
Terminal

The orders report

orders.csv: order number, customer, city, total. Make a report folder with two files in it: cities.txt (the cities orders came from, sorted, once each) and top.txt (the 3 order lines with the highest total, largest first). Then delete the tmp folder with what is in it.
  • report/cities.txt has the cities, sorted, once each
  • report/top.txt has the top 3 orders
  • tmp is gone
  • orders.csv is still there

The reference takes 4 commands: finish in that many, without hints, for three stars.

Files

    My submissions