aboutsummaryrefslogtreecommitdiff
path: root/tests/filters/capitalize-stdin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filters/capitalize-stdin.sh')
-rwxr-xr-xtests/filters/capitalize-stdin.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/filters/capitalize-stdin.sh b/tests/filters/capitalize-stdin.sh
index c9f4719..da6f7a1 100755
--- a/tests/filters/capitalize-stdin.sh
+++ b/tests/filters/capitalize-stdin.sh
@@ -1,3 +1,4 @@
#!/bin/sh
+[ "$#" -gt 0 ] && printf "%s " "$*"
tr '[:lower:]' '[:upper:]'