mirror of
https://github.com/charmbracelet/gum.git
synced 2024-10-26 07:10:39 +03: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 New Issue
Block a user