diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2016-10-30 13:17:11 +0100 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2016-10-30 13:17:11 +0100 |
commit | 0c027467efe5f8a29a233613ec644092670e8b2a (patch) | |
tree | c69ad3375553ec045306b4a05b756ccc433b07b4 | |
parent | b5651b78e819eb7d47f04adce5eb2bd8d1b5025a (diff) |
+ test case for printf sequences in filenames
-rw-r--r-- | printf/all.do | 19 | ||||
-rw-r--r-- | printf/default.do | 2 |
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} |