Open allee11 opened 4 months ago
For head and tail, what kind of features will you support? (any flags?)
We decided that we wanted to add flags for number of lines, number of bytes, verbose flag which specifies the file name before displaying the data, and a flip a coin flag that flips a coin.
The flip a coin flag would conduct a simple coin flip, print out the result (heads 49%, tails 49%, or undecided 2%), and confirm whether or not you made the right call.
Ex: head -flip
Coin flip result: Undecided -> Oops! Looks like the coin got stuck in a quantum loop between heads and tails. Let's try flipping again and hope the universe makes up its mind this time!" 🪙🤷♂️🪙
Sounds good!
Implementing head and tail utility with Andrew Diep.