-
-
Notifications
You must be signed in to change notification settings - Fork 42
London | SDC-July-2025 | Franklin Kamela | Sprint 2 | jq exercises #98
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
base: main
Are you sure you want to change the base?
Conversation
LonMcGregor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I'm assuming you only want me to review what is in the jq directory - I think you may have accidentally committed other files as well.
Good work on the jq tasks - I only have a comment for task 2
jq/script-02.sh
Outdated
| # TODO: Write a command to output the address of the person, all on one line, with a comma between each line. | ||
| # Your output should be exactly the string "35 Fashion Street, London, E1 6PX", but should not contain any quote characters. | ||
| path="/Users/cyf/Documents/SDC/Module-Tools/jq/person.json" | ||
| jq -r '.address | "\(.[0]), \(.[1]), \(.[2])"' $path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you think of a solution that would work if the address has more than 3 lines?
|
Your PR description contained template fields which weren't filled in. Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed. |
Learners, PR Template
Self checklist
Changelist
Questions