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

first=1

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

    echo -n "'$i'"
done

echo