docs: fix a warning in the filter example

fixing a here-document warning in the filter-key-value.sh script
This commit is contained in:
NalZE7 2022-08-14 21:39:35 +03:00 committed by Maas Lalani
parent 5d24ca88f4
commit bcfded82c8

View file

@ -4,7 +4,8 @@ export LIST=$(cat <<END
Cow:Moo
Cat:Meow
Dog:Woof
END)
END
)
ANIMAL=$(echo "$LIST" | cut -d':' -f1 | gum filter)
SOUND=$(echo "$LIST" | grep $ANIMAL | cut -d':' -f2)