mirror of
https://github.com/charmbracelet/gum
synced 2024-05-08 01:06:37 +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
|
||||
Cat:Meow
|
||||
Dog:Woof
|
||||
END)
|
||||
END
|
||||
)
|
||||
|
||||
ANIMAL=$(echo "$LIST" | cut -d':' -f1 | gum filter)
|
||||
SOUND=$(echo "$LIST" | grep $ANIMAL | cut -d':' -f2)
|
||||
|
|
Loading…
Reference in a new issue