diff options
Diffstat (limited to 'tests/filters/capitalize-stdin.sh')
-rwxr-xr-x | tests/filters/capitalize-stdin.sh | 1 |
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:]' |