codescalersinternships / home

home repo for internships
1 stars 0 forks source link

Coreutils - Ruby - Nabil #162

Open Nabil-Salah opened 2 days ago

Nabil-Salah commented 2 days ago

CoreUtils in Ruby

Description

Goal is to reimplement several core Unix utilities. giving exposure to Ruby basics, including file I/O, flag parsing, string manipulation, and more.

Requirements

  1. Create Go programs that replicate the functionality of the following Unix utilities:

    • [ ] head
    • [ ] tail
    • [ ] wc (word count)
    • [ ] cat
    • [ ] echo
    • [ ] tree
    • [ ] env
    • [ ] true
    • [ ] false
  2. Each utility should be implemented as a separate Go program.

  3. Programs should read input from files or stdin as appropriate.

  4. Implement basic flags for each utility where applicable.

Example Implementations

1. head

2. tail

3. wc (word count)

4. cat

5. echo

Acceptance Criteria

Resources