Caboose, a simple Unix tail clone

We use Elixir's escript to create a command line application to solve the challenge from lesson 7. It's a clone of the core functionality of Unix's "tail" command.

Unlike the "wc" clone we built previously, tail requires the ability to parse flags with arguments, e.g. tail filename.txt -n 30. We also introduce the one-liner syntax for if-else blocks.

Back to index