From 8127bf73501c335519dae40101c3b850c4a64e54 Mon Sep 17 00:00:00 2001 From: James Pannacciulli Date: Sun, 11 Jun 2017 11:06:44 -0700 Subject: ariketa first commit ariketa: bash example code quickloader for presentations --- config/examples.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config/examples.sh (limited to 'config/examples.sh') diff --git a/config/examples.sh b/config/examples.sh new file mode 100644 index 0000000..41d5c0c --- /dev/null +++ b/config/examples.sh @@ -0,0 +1,20 @@ +_examples=( + +'example tag: +echo "example command"' + +'example tag: +printf "%s\n" "this is a second example tag example"' + +'example tag: +printf "%s\n" good for measure another | sort' + +'a different tag: +echo "did you notice the tag above along with its adjacency indicators (+) ?"' + +'a different tag: +uniq \ + <(sort \ + <(printf "%s\n" "${_examples[@]//:$'\n'*/}") )' + +) -- cgit v1.2.3