Skip to content

barcelonna | October 2025 | Ifeoma Osegbo | Sprint 3 | Implementing-Tools - #5

Open
Ify-O wants to merge 25 commits into
mainfrom
ifeoma-implement-tools
Open

barcelonna | October 2025 | Ifeoma Osegbo | Sprint 3 | Implementing-Tools#5
Ify-O wants to merge 25 commits into
mainfrom
ifeoma-implement-tools

Conversation

@Ify-O

@Ify-O Ify-O commented Apr 13, 2026

Copy link
Copy Markdown
Owner

Implement Unix CLI tools (ls, cat, wc)

This PR implements simplified versions of core Unix command-line tools using Node.js: ls, cat, and wc.

ls

  • Lists directory contents
  • Supports -1 (one item per line) and -a (include hidden files)
  • Handles both files and folders
  • Supports multiple input paths

cat

  • Displays file contents
  • Supports -n (number all lines) and -b (number non-empty lines)
  • Works with single and multiple files
  • Preserves input order

wc

  • Computes file statistics:

    • -l line count
    • -w word count
    • -c character count
  • Supports single and multiple files

Ify-O added 25 commits April 6, 2026 09:46
…y whose name contains at least one upper case letter.
…directory whose name starts with an upper case letter.
…y whose name starts with an upper case letter and doesn't contain any other upper case letters.
…ctory whose name starts with an upper case letter and doesn't contain any other upper case letters.
…the three players with the highest first score, in descending order.
…he player whose first score was the second highest.

@roden0 roden0 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


# The input for this script is the events-with-timestamps.txt file.
# TODO: Write a command to show how many times anyone has entered and exited.
# TODO:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants