Richards date script ==>> Great Idea
oldtony
tony at ynotsoftware.com
Sat Jan 11 09:56:07 PST 2020
I think the date script is great. I am going to put it in /appl/fp/p
script. - Thanks Richard
#This script will continually set and reset PFCMARK
#to ten years advance of this year.
#
YEAR=`date '+%G'`;
YEAR=$((YEAR + 10));
PFCMARK="${YEAR:2:2}";
export PFCMARK
It works, but the issue is where to put.? It may require multiple places.
Maybe /etc/profile.d/filepro.sh, this would work on a re-boot.
How about the /appl/fp/p script, so whenever you use regular filepro, it
wold work.
Save it as /appl/fp/lib/SET_PFCMARK to be used inside any scripts.
i.e. . /appl/fp/lib/SET_PFCMARK
--
tony at ynotsoftware.com
Tony Freehauf (Old Tony)
YNOT Software & PC Support
815.467.2179
YNOT sounds like "Why Not."
YNOT let us help you.
More information about the Filepro-list
mailing list