Skip to content

London | 26-SDC-Mar | Ebrahim Beiati-Asl | Sprint 2 | shell pipelines task#351

Open
ebrahimbeiati wants to merge 3 commits intoCodeYourFuture:mainfrom
ebrahimbeiati:shell-pipelines-task
Open

London | 26-SDC-Mar | Ebrahim Beiati-Asl | Sprint 2 | shell pipelines task#351
ebrahimbeiati wants to merge 3 commits intoCodeYourFuture:mainfrom
ebrahimbeiati:shell-pipelines-task

Conversation

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

Shell pipelines tasks completed

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

@SlideGauge SlideGauge left a comment

Choose a reason for hiding this comment

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

There are several files: sort-uniq-head-tail/script-03.sh, sort-uniq-head-tail/script-06.sh, sort-uniq-head-tail/script-07.sh, tr/script-01.sh, tr/script-02.sh without trailing new lines. Could you add them please? Otherwise good job!

# TODO: Write a command to show how many times anyone has entered and exited.
# It should be clear from your script's output that there have been 5 Entry events and 4 Exit events.
# The word "Event" should not appear in your script's output.
awk 'NR>1 {counts[$3]++} END {for (event in counts) print counts[event], event}' events-with-timestamps.txt
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good use of NR>1 to skip the header row

@SlideGauge SlideGauge added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Apr 26, 2026
@ebrahimbeiati ebrahimbeiati added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Apr 26, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Apr 26, 2026
@SlideGauge SlideGauge added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Apr 27, 2026
@SlideGauge
Copy link
Copy Markdown

Completed

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