menu script enhancement idea
John Esak
john at valar.com
Sun Jul 23 19:26:51 PDT 2006
Wouldn't it be easy to incorporate the passing of variables to the menu
scripts by doing something like this...
menu.-A var1 var2 var3 var4 ...
Couldn't it be arranged to pass these in as $1 $2 $3 ... to the called
script? There are any number of really good reasons for being able to do
this. I don't think it would be too difficult to add and it certainly
wouldn't cause any backward compat issues. how about a 5.6.4 release?? :-)
Example:
menu.-A 2006
and the script reads
/u/appl/rreport filename -f report -p /u/appl/reports/$1/rep_1
/u/appl/rreport filename -f report -p /u/appl/reports/$1/rep_2
/u/appl/rreport filename -f report -p /u/appl/reports/$1/rep_3
...
Actually, this is a pretty weak example... but you get the idea.
John
More information about the Filepro-list
mailing list