Skip to content

Commit a6b48f6

Browse files
committed
Use jq -r to output name without quotes
1 parent ebfc198 commit a6b48f6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

jq/script-01.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set -euo pipefail
55
# The input for this script is the person.json file.
66
# TODO: Write a command to output the name of the person.
77
# Your output should be exactly the string "Selma", but should not contain any quote characters.
8+
9+
jq -r '.name' person.json

0 commit comments

Comments
 (0)