codescalersinternships / home

home repo for internships
4 stars 0 forks source link

coreutils-python-salma #229

Open SalmaElsoly opened 4 months ago

SalmaElsoly commented 4 months ago

CoreUtils in Python

Description

Goal is to reimplement several core Unix utilities. giving exposure to Go 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:

    • [x] head
    • [x] tail
    • [x] wc (word count)
    • [x] cat
    • [x] echo
    • [x] tree
    • [x] env
    • [x] true
    • [x] false
    • [x] yes
  2. Programs should read input from files or stdin as appropriate.

  3. 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