Skip to content
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

RD Certification - Learn Advanced Bash by Building a Kitty Ipsum Translator - Bugs/Typos I have found #54645

Closed
andrebdinis opened this issue May 3, 2024 · 3 comments · Fixed by freeCodeCamp/learn-advanced-bash-by-building-a-kitty-ipsum-translator#26
Assignees
Labels
scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. status: waiting triage This issue needs help from moderators and users to reproduce and confirm its validity and fix. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.

Comments

@andrebdinis
Copy link

Describe the Issue

Hello!

I will detail 5 issues I have found, by stating the text of the step (I did not know how to find the number of the steps, and I have reached my GitPod monthly usage limit) and the issue in question.

1. STEP: “cat can take a filename as an argument. Use it again with your name.txt file as an arguement to print the contents of the file.”

  • TYPO: arguement instead of argument.

2. STEP: “It doesn’t look like that’s an option. But there is a -o flag that will says it will put the matches on their own lines. Try that one with that command instead of the -c flag.”

  • TYPO: that will says it will instead of that says it will.

3. STEP: “You can use sed to change each line number in that output. Start by entering the last command and pipe the output into sed that replaces [0-9] with 1.”

  • UNWANTED BEHAVIOR: The code passes even when I type the regex pattern without the ‘s’ at the “sed” command (which results in an error):
grep -n 'meow[a-z]*' kitty_ipsum_1.txt | sed '/[0-9]/1/'
sed: -e expression #1, char 8: unknown command: 1’`
  • SOLUTION: The only acceptable code should be:
grep -n 'meow[a-z]*' kitty_ipsum_1.txt | sed 's/[0-9]/1/'

4. STEP: “Now, it should replace catnip with dogchow and cat with dog. Use the script the translate the first ipsum file again. Search the results with grep for any words that start with dog. Part of that search pattern should be [a-z]*. Make sure to show the results in color.”

  • TYPO: Use the script the translate the first instead of Use the script to translate the first.

5. STEP: “Okay, your script is finished. Translate the kitty_ipsum_1.txt file and put the output into a new doggy_ipsum_1.txt file.”

  • PROBLEM: it does not accept as a solution the command with the input redirection (but it should work as well, right?):
./translate.sh < kitty_ipsum_1.txt > doggy_ipsum_1.txt

Affected Page

https://www.freecodecamp.org/learn/relational-database/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator

Your code

Already mentioned in the issue description.

Expected behavior

Already mentioned in the issue description.

Screenshots

No response

System

  • Device: Laptop
  • OS: Windows 11
  • Browser: Brave
  • Version: 1.65.123

Additional context

No response

@andrebdinis andrebdinis added scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. status: waiting triage This issue needs help from moderators and users to reproduce and confirm its validity and fix. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc. labels May 3, 2024
@jdwilkin4
Copy link
Contributor

Hey @moT01 !

Would you have time to look into this issue?
Thanks!

@moT01
Copy link
Member

moT01 commented May 7, 2024

Thanks for reporting @andrebdinis 👍 The issues should be fixed 👍

@andrebdinis
Copy link
Author

Thank you, @moT01. I hope the information was clear enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. status: waiting triage This issue needs help from moderators and users to reproduce and confirm its validity and fix. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants