1#! /usr/local/bin/ksh93 -p 2 3a= 4g= 5for i in $* 6do 7 a="$a $g" 8 g=$i 9done 10 11/usr/sbin/pw groupmod $g $a 12