diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2017-06-11 11:06:44 -0700 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2017-06-11 16:28:32 -0700 |
commit | 8127bf73501c335519dae40101c3b850c4a64e54 (patch) | |
tree | ea3a9b7b3991fda0e23062f89fde6c7177da56d7 /config | |
download | ariketa-8127bf73501c335519dae40101c3b850c4a64e54.tar.gz ariketa-8127bf73501c335519dae40101c3b850c4a64e54.tar.bz2 |
ariketa first commit
ariketa: bash example code quickloader for presentations
Diffstat (limited to 'config')
-rw-r--r-- | config/examples.sh | 20 |
1 files changed, 20 insertions, 0 deletions
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'*/}") )' + +) |