You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to implement more than 6 commands, however most of them expect one file/argument other than the flags(if present), i will be working on fixing that tomorrow. In addition I will implement the remaining commands as well.
CoreUtils in Go
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
Create Go programs that replicate the functionality of the following Unix utilities:
Each utility should be implemented as a separate Go program.
Programs should read input from files or stdin as appropriate.
Implement basic flags for each utility where applicable.
Example Implementations
1. head
-n
flag to specify the number of lines to print.2. tail
-n
flag to specify the number of lines to print.3. wc (word count)
-l
,-w
, and-c
flags to display only lines, words, or characters respectively.4. cat
-n
flag to number output lines.5. echo
-n
flag to omit the trailing newline.Acceptance Criteria
The text was updated successfully, but these errors were encountered: