annotate rDiff/bin/genarglist.sh @ 0:0f80a5141704

version 0.3 uploaded
author vipints
date Thu, 14 Feb 2013 23:38:36 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
1 #/bin/bash
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
2
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
3 list=
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
4 until [ -z $1 ] ; do
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
5 if [ $# != 1 ];
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
6 then
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
7 list="${list}$1:"
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
8 else
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
9 list="${list}$1"
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
10 fi
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
11 shift
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
12 done
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
13 echo $list
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
14