diff options
author | Lukas Fleischer | 2014-01-15 23:11:19 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-16 00:53:18 +0100 |
commit | 3741254a6989b2837cd8d20480f152f0096bcb9a (patch) | |
tree | 5997134d4aaff3ccade061c8cce6de85cbf3ed88 /tests/filters/dump.sh | |
parent | 2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a (diff) | |
download | cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar.gz cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.zip |
t0111: Additions and fixes
* Rename the capitalize-* filters to dump.* since they also dump the
arguments.
* Add full argument validation to the email filters.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/filters/dump.sh')
-rwxr-xr-x | tests/filters/dump.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/filters/dump.sh b/tests/filters/dump.sh new file mode 100755 index 0000000..da6f7a1 --- /dev/null +++ b/tests/filters/dump.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +[ "$#" -gt 0 ] && printf "%s " "$*" +tr '[:lower:]' '[:upper:]' |