From 49dddd713ef2cb390edfeddb5cb7b0fe507fafb5 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Apr 2022 14:20:48 -0400 Subject: [PATCH] Tutorial uses --pattern for clarity --- tutorial.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial.sh b/tutorial.sh index 6c47a3f..effdbc1 100755 --- a/tutorial.sh +++ b/tutorial.sh @@ -12,7 +12,7 @@ for t in $([ $# -gt 0 ] && echo "$@" || ls -v tests/*.sh); do printf "\033[33;1mGiven these lines: Give this output:\033[m\n" diff -y -W60 --color=always "${t/.sh/.in}" "${t/.sh/.out}" while true; do - printf "\n\033[1mbp pattern: \033[m" + printf "\n\033[1mbp --pattern \033[m" read -r pat printf "\033[0;2mRunning: \033[32m%s\033[m\n\n" "bp -p '$pat'" printf "\033[33;1mExpected output: Your pattern's output:\033[m\n"