Skip to content

NW | 2026-MAR-SDC| Ahmad Hmedan | sprint 2 | Shell Pipelines#432

Open
AhmadHmedann wants to merge 1 commit into
CodeYourFuture:mainfrom
AhmadHmedann:shell-pipelines
Open

NW | 2026-MAR-SDC| Ahmad Hmedan | sprint 2 | Shell Pipelines#432
AhmadHmedann wants to merge 1 commit into
CodeYourFuture:mainfrom
AhmadHmedann:shell-pipelines

Conversation

@AhmadHmedann
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

Changelist

Completed all shell scripting tasks.

@AhmadHmedann AhmadHmedann added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 25, 2026
Copy link
Copy Markdown

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

Code looks good. Well done.


# TODO: Write a command to count the number of files in the sample-files directory whose name starts with an upper case letter and doesn't contain any other upper case letters.
# Your output should be the number 7.
ls sample-files/ | grep ^[A-Z][^A-Z]*$ | wc -l No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's a better practice to enclosed the regex by a pair of quote characters.

@cjyuan cjyuan 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 May 12, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants