diff options
Diffstat (limited to 'bin/strjoin')
-rwxr-xr-x | bin/strjoin | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/strjoin b/bin/strjoin new file mode 100755 index 0000000..83b2a9c --- /dev/null +++ b/bin/strjoin @@ -0,0 +1,6 @@ +#!/bin/sh +sep=$1 +shift +printf '%s' "$1" +shift +printf "$sep"'%s' "$@" |