diff options
-rwxr-xr-x | str.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/sh + +first=1 + +for i in $* ; do + if [ $first -eq 1 ] ; then + first=0 + else + echo -n , + fi + + echo -n "'$i'" +done + +echo |