User:Scsbot/formtools/formgettmpfile

Hello, you have come here looking for the meaning of the word User:Scsbot/formtools/formgettmpfile. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Scsbot/formtools/formgettmpfile, but we will also tell you about its etymology, its characteristics and you will know how to say User:Scsbot/formtools/formgettmpfile in singular and plural. Everything you need to know about the word User:Scsbot/formtools/formgettmpfile you have here. The definition of the word User:Scsbot/formtools/formgettmpfile will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Scsbot/formtools/formgettmpfile, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
tag=$1
fieldname=$2

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

# actually, don't really need TOC yet...

if test -f $td/$formid/$fieldname
then
	echo $td/$formid/$fieldname
	exit 0
else
	# maybe print error message, though need -q to turn off
	# (see wpSummary fetch in wikised)
	exit 1
fi