From 910e365004ae64344e62ac78e27d931e429c817a Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Tue, 2 Aug 2022 19:10:39 -0400 Subject: [PATCH] test(example): don't use `-e` for echo --- examples/test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/test.sh b/examples/test.sh index c2ba30b..907ffe4 100755 --- a/examples/test.sh +++ b/examples/test.sh @@ -11,14 +11,14 @@ gum confirm "Testing?" gum confirm "No?" --default=false --affirmative "Okay." --negative "Cancel." # Filter -echo -e {1..500} | sed 's/ /\n/g' | gum filter -echo -e {1..500} | sed 's/ /\n/g' | gum filter --indicator ">" --placeholder "Pick a number..." --indicator.foreground 1 --text.foreground 2 --match.foreground 3 --prompt.foreground 4 --height 5 +echo {1..500} | sed 's/ /\n/g' | gum filter +echo {1..500} | sed 's/ /\n/g' | gum filter --indicator ">" --placeholder "Pick a number..." --indicator.foreground 1 --text.foreground 2 --match.foreground 3 --prompt.foreground 4 --height 5 # Format -echo -e "# Header\nBody" | gum format -echo -e 'package main\n\nimport "fmt"\n\nfunc main() {\n\tfmt.Println("Hello, Gum!")\n}\n' | gum format -t code -echo -e ":candy:" | gum format -t emoji -echo -e '{{ Bold "Bold" }}' | gum format -t template +echo "# Header\nBody" | gum format +echo 'package main\n\nimport "fmt"\n\nfunc main() {\n\tfmt.Println("Hello, Gum!")\n}\n' | gum format -t code +echo ":candy:" | gum format -t emoji +echo '{{ Bold "Bold" }}' | gum format -t template # Input gum input --prompt "Email: " --placeholder "john@doe.com" --prompt.foreground 99 --cursor.foreground 99 --width 50