diff options
| author | Ian C <ianc@noddybox.co.uk> | 2018-06-22 09:58:05 +0000 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2018-06-22 09:58:05 +0000 |
| commit | 43ba34a13a3e302bed5238af40969a0748832fce (patch) | |
| tree | 9b31f2f561efb4796044dbf879603d98eabbf19f | |
| parent | b9bb431676f1cdace8788af35de14803683d5ba3 (diff) | |
Added str.sh
| -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 |
