Skip to content

Commit f0784ab

Browse files
committed
review fix
1 parent d6ab7ba commit f0784ab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

jq/script-02.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -euo pipefail
44

55
# The input for this script is the person.json file.
66
# TODO: Write a command to output the address of the person, all on one line, with a comma between each line.
7-
jq -r '.address | join(" ")' ./person.json
7+
jq -r '.address | join(", ")' ./person.json
88
# Your output should be exactly the string "35 Fashion Street, London, E1 6PX", but should not contain any quote characters.

jq/script-03.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -euo pipefail
44

55
# The input for this script is the person.json file.
66
# TODO: Write a command to output the name of the person, then a comma, then their profession.
7-
jq -r '.name +", " + .profession' ./person.json
7+
jq -r '.name + ", " + .profession' ./person.json
88
# Your output should be exactly the string "Selma, Software Engineer", but should not contain any quote characters.

0 commit comments

Comments
 (0)