User:Scsbot/formtools/formsubmitbutton

Hello, you have come here looking for the meaning of the word User:Scsbot/formtools/formsubmitbutton. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Scsbot/formtools/formsubmitbutton, but we will also tell you about its etymology, its characteristics and you will know how to say User:Scsbot/formtools/formsubmitbutton in singular and plural. Everything you need to know about the word User:Scsbot/formtools/formsubmitbutton you have here. The definition of the word User:Scsbot/formtools/formsubmitbutton will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Scsbot/formtools/formsubmitbutton, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
:
# prepare to "push" a form submit button, by deleting the rest

tag=$1
buttonname=$2

rm="/bin/rm -f"

td=td$tag

if test ! -d $td
then
	echo "$tag not set up" >&2
	exit 1
fi

if test ! -f $td/.cur
then
	echo "$tag: no form selected" >&2
	exit 1
fi

formid=`cat $td/.cur`

if test ! -d $td/$formid -o ! -f $td/$formid/.toc
then
	echo "$tag: form not set up" >&2
	exit 1
fi

while read name type
do
	if test $type = "submit"
	then
		if test $name = $buttonname
		then	: # oughta record found
		else	$rm $td/$formid/$name
		fi
	fi
done < $td/$formid/.toc

# oughta complain if not found

exit 0