faraazahmad / shellrb

A unix-like shell built in Ruby
MIT License
35 stars 24 forks source link

Complete remaining cat functionality #54

Open tacoda opened 2 years ago

tacoda commented 2 years ago

Complete the remaining use-cases of cat as defined by GNU Coreutils here.

These include:

  1. When called with no arguments copies STDIN to STDOUT
  2. When called with multiple files it outputs all content
  3. Add options, which are mostly about showing/hiding nonprinting characters
  4. When called with multiple files and - it outputs all contents including STDIN
tacoda commented 2 years ago

@faraazahmad I'm planning on implementing as much of Coreutils functionality as possible. I chose to start with cat. I will be getting started on this soon. Any feedback you may have is welcome!