#file=cross_post_list_ftyp #on entry: $menu_opt=...List=xxx&...Ftypo=yyy&...Fcomo=zzz&... (POST method) #on exit: defines $list=xxx if List is defined # $list="" otherwise # $ftypo=yyy if Ftypo is defined # $ftypo="" otherwise # $fcomo=zzz if Fcomo is defined # $fcomo="" otherwise ifs=$IFS;IFS="&";list=;ftypo=;for s in $menu_opt;do l=`expr "$s" : 'Style=\(.*\)'`;[ "$l" ]&&style="$l" l=`expr "$s" : 'List=\(.*\)'`;[ "$l" ]&&list="$l" l=`expr "$s" : 'Ftypo=\(.*\)'`;[ "$l" ]&&ftypo="$l" l=`expr "$s" : 'Fcomo=\(.*\)'`;[ "$l" ]&&fcomo="$l" done;IFS=$ifs