summaryrefslogtreecommitdiff
path: root/printf
diff options
context:
space:
mode:
Diffstat (limited to 'printf')
-rw-r--r--printf/all.do19
-rw-r--r--printf/default.do2
2 files changed, 21 insertions, 0 deletions
diff --git a/printf/all.do b/printf/all.do
new file mode 100644
index 0000000..8501bae
--- /dev/null
+++ b/printf/all.do
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+redo-ifchange \
+ 'double-quote-(\")' \
+ 'backslash-(\\)' \
+ 'alert-(\a)' \
+ 'backspace-(\b)' \
+ 'produce-no-further-output-(\c)' \
+ 'escape-(\e)' \
+ 'form-feed-(\f)' \
+ 'newline-(\n)' \
+ 'carriage-return-(\r)' \
+ 'horizontal-tab-(\t)' \
+ 'vertical-tab-(\v)' \
+ 'A-(\101)' \
+ 'A-(\x65)' \
+ 'ā-(\u0101)' \
+ 'ā-(\u00000101)' \
+ 'percent-(%%)' \ No newline at end of file
diff --git a/printf/default.do b/printf/default.do
new file mode 100644
index 0000000..3a7bfb6
--- /dev/null
+++ b/printf/default.do
@@ -0,0 +1,2 @@
+#!/bin/sh
+printf '$1:\t%s\n$2:\t%s\n$3:\t%s\n' ${1} ${2} ${3}