Skip to content

NW | 2026-mar-sdc | Ahmad Hmedan | Sprint 1 | individual-Shell-tools#374

Open
AhmadHmedann wants to merge 2 commits intoCodeYourFuture:mainfrom
AhmadHmedann:individual-shell-tools
Open

NW | 2026-mar-sdc | Ahmad Hmedan | Sprint 1 | individual-Shell-tools#374
AhmadHmedann wants to merge 2 commits intoCodeYourFuture:mainfrom
AhmadHmedann:individual-shell-tools

Conversation

@AhmadHmedann
Copy link
Copy Markdown

@AhmadHmedann AhmadHmedann commented Mar 14, 2026

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

I have answered all the scripts

@github-actions

This comment has been minimized.

@AhmadHmedann AhmadHmedann added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 14, 2026
@AhmadHmedann AhmadHmedann changed the title all tasks done NW | 2026-mar-sdc | Ahmad Hmedan | Sprint 1 | individual-Shell-tools Mar 14, 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 Mar 14, 2026
@github-actions

This comment has been minimized.

4 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AhmadHmedann AhmadHmedann added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 14, 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.

Looks like cat/script-01.sh is missing, could you add it?

Also, could you doublecheck the settings of your editor, your files miss the trailiing new line

# 3 It looked delicious.
# 4 I was tempted to take a bite of it.
# 5 But this seemed like a bad idea...
cat -n ../helper-files/*.txt 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.

Will this command indeed produce line numbers which are not reset on each new file?

# TODO: Write a command to output just the names of each player along with the number of times they've played the game.
# Your output should contain 6 lines, each with one word and one number on it.
# The first line should be "Ahmed 3".
awk '{print $1, NF-2}' scores-table.txt 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.

Using NF-2 inline (no variable needed) is clean and concise, like

@SlideGauge
Copy link
Copy Markdown

I've got a couple of notes, could you fix them please?

@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 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants