Shell variables in menus?
Jay R. Ashworth
jra at baylink.com
Wed Jun 10 11:35:04 PDT 2020
Do I remember that the menu runner spawns a new shell for each line and
even exporting a set variable doesn't help?
I need to do something like this:
DATESTAMP="`date '+%Y%m%d_%H%M%S'`"
export DATESTAMP
And then pick up $DATESTAMP inside my prc tables with a GETENV()
Right now it's coming back blank, and I don't think that's fixable.
Is there a go-to solution for doing this kind of tagging at the scope of
a menu script?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://www.bcp38.info 2000 Land Rover DII
St Petersburg FL USA BCP38: Ask For It By Name! +1 727 647 1274
More information about the Filepro-list
mailing list