Skip to content

London | Scd-Nov-26 | Liridona Shehu | Sprint 1 | Individual Shell Tools - #694

Open
shehu-dona wants to merge 11 commits into
CodeYourFuture:mainfrom
shehu-dona:individual-shell-tools
Open

shehu-dona wants to merge 11 commits into
CodeYourFuture:mainfrom
shehu-dona:individual-shell-tools

Conversation

@shehu-dona

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1145

Changelist

Completed all exercises in individual-shell-tools, including the optional stretch tasks:

  • ls – listing files, a child directory, recursive listing (-R), and sorting by modification time (-t, -r, -1)
  • cat – printing one file, several files with a glob, and line numbering with -n (continuous across files for the stretch)
  • wc – counting words (-w), lines (-l), and full line/word/character counts for all helper files
  • grep – matching line starts (^), ignoring case (-i), counting (-c), inverting (-v), context (-B), and listing files (-l)
  • sed – substitutions with the g flag, deleting lines with d, and swapping fields with capture groups (-E)
  • awk – printing fields, filtering by city, using NF/$NF, and summing scores with END and a for loop (stretch)

Each command has a comment explaining what it does and why. I ran every script from its own directory and checked the output against the expected results in the TODO comments.

Note: the wc exercises were included in the commit "Complete grep exercises 1-2".

@shehu-dona shehu-dona added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Results of test:
You passed 31/31 tasks.
This task is complete!
If you want to re-run the automated tests after changing some code, remove the 'Needs Review' label, wait a little, and then re-add the 'Needs Review' label on your PR.

@github-actions github-actions Bot added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 17, 2026
@shehu-dona shehu-dona added 📅 Sprint 1 Assigned during Sprint 1 of this module Module-Tools The name of the module. labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Module-Tools The name of the module. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant