5 # The latest update : %G% at %U%
7 #%Z% ctrl2proto Function
10 #%Z% Usage : ctrl2proto SourceFileName
22 echo "Usage: ctrl2proto ClassName ToolName OptionCtrlFileName"
28 while [ $ans != "Y" -a $ans != "y" ]
32 echo "$Name is good ?"
43 while [ `echo $1 | cut -c1` = ${FlagsCharacter} ]
45 if [ `echo $1 | cut -c2` = "h" ]
58 echo "Enter ClassName"
62 echo "Enter OptionCtrlFileName"
69 echo "Enter OptionCtrlFileName"
75 echo "Enter OptionCtrlFileName"
90 sourceFiles="usage header init argCheck util"
95 $EOS_HOME/sbin/ctrl2$i $ClassName $ToolName $OptionCtrlFile