]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/filters/capitalize-stdin.sh
t0111: Add basic tests for Lua filters
[ps-cgit] / tests / filters / capitalize-stdin.sh
index c9f4719d109961c5b4bd0740719e61646887dc20..da6f7a1b181bf4bf6427e75c8d21a27dfb9f0f16 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 
+[ "$#" -gt 0 ] && printf "%s " "$*"
 tr '[:lower:]' '[:upper:]'