diff options
Diffstat (limited to 'tests/filters')
-rwxr-xr-x | tests/filters/capitalize-argv1.sh | 3 | ||||
-rwxr-xr-x | tests/filters/capitalize-stdin.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/filters/capitalize-argv1.sh b/tests/filters/capitalize-argv1.sh new file mode 100755 index 0000000..2ea0098 --- /dev/null +++ b/tests/filters/capitalize-argv1.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "$1" | tr '[:lower:]' '[:upper:]' diff --git a/tests/filters/capitalize-stdin.sh b/tests/filters/capitalize-stdin.sh new file mode 100755 index 0000000..c9f4719 --- /dev/null +++ b/tests/filters/capitalize-stdin.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +tr '[:lower:]' '[:upper:]' |