mirror of
https://github.com/charmbracelet/gum
synced 2024-06-11 18:22:18 +02:00
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:
parent
5d24ca88f4
commit
bcfded82c8
|
@ -4,7 +4,8 @@ export LIST=$(cat <<END
|
||||||
Cow:Moo
|
Cow:Moo
|
||||||
Cat:Meow
|
Cat:Meow
|
||||||
Dog:Woof
|
Dog:Woof
|
||||||
END)
|
END
|
||||||
|
)
|
||||||
|
|
||||||
ANIMAL=$(echo "$LIST" | cut -d':' -f1 | gum filter)
|
ANIMAL=$(echo "$LIST" | cut -d':' -f1 | gum filter)
|
||||||
SOUND=$(echo "$LIST" | grep $ANIMAL | cut -d':' -f2)
|
SOUND=$(echo "$LIST" | grep $ANIMAL | cut -d':' -f2)
|
||||||
|
|
Loading…
Reference in a new issue