summaryrefslogtreecommitdiff
path: root/str.sh
blob: 9d8ef8e91c579dde6d1abfaa3b71f94e56ece7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

first=1

for i in $* ; do
    if [ $first -eq 1 ] ; then
    	first=0
    else
    	echo -n ,
    fi

    echo -n "'$i'"
done

echo