Skip to content

London SDC | Anna Fedyna | Module Tools| Individual shell | Week 1 #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

annafedyna
Copy link

@annafedyna annafedyna commented Mar 10, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@annafedyna annafedyna added the Needs Review Participant to add when requesting review label Mar 10, 2025
Copy link

@ehwus ehwus left a comment

Choose a reason for hiding this comment

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

This is a great submission that demonstrates good engagement and understanding of each of the programs that you were working with, as well as great Bash scripting skills. There are a few comments where your attention to detail could be improved, it's always prudent to double check the output of your scripts to make sure that they match the specifications ahead of submitting your work for review.

Overall a very solid effort and great work!

@@ -4,3 +4,6 @@ set -euo pipefail

# TODO: Write a command to output every line in dialogue.txt that does not contain the word "Hello" (regardless of case).
# The output should contain 10 lines.

grep -vic 'Hello' dialogue.txt
Copy link

Choose a reason for hiding this comment

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

issue: We're using grep twice here, and the output on one is 10 lines and the output on the other is 1 line. We can definitely do this correctly in one, can you work out which flag (or flags) we might need to do this?

Copy link
Author

@annafedyna annafedyna Mar 16, 2025

Choose a reason for hiding this comment

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

Probably, leaving -vi flags going to be enough. If there is any other way would be nice to now)

@ehwus ehwus added Complete Volunteer to add when work is complete and review comments have been addressed Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review Complete Volunteer to add when work is complete and review comments have been addressed labels Mar 16, 2025
@annafedyna
Copy link
Author

@ehwus Thank you a lot for the review! I really appreciate valuable feedback !

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants