Skip to content

Commit 16b74f7

Browse files
committed
correction
1 parent 39a6f08 commit 16b74f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jq/script-03.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ set -euo pipefail
66
# TODO: Write a command to output the name of the person, then a comma, then their profession.
77
# Your output should be exactly the string "Selma, Software Engineer", but should not contain any quote characters.
88

9-
jq -r '"\(.name), \(.profession)"' person.json
9+
jq -r '.name + ", " + .profession' person.json
1010

0 commit comments

Comments
 (0)