Room:「Conference Room SAD」

ChooseHost

Speaker:K. Oide

(Date: 2000年 12月 18日 月曜日 8:51:27 AM)


Dear KEKB Users:

1. A function ChooseHost is defined to change the host when an environment
matches a condition.

Usage:

ChooseHost[AlternativeHost -> host,
File -> file,
env -> pat, env1 -> pat1, ... ];

where host is the name of host to run file alternatively, when Environment[env],
Environment[env1] ... matches pat, pat1 ... as a string (StringMatchQ).
host and file are String.

Example:

ChooseHost["OSTYPE"->"linux",AlternativeHost->"acsad2",
File->"/users/oide/KEKB/Alarm/kekbalarm1.sad"];

K. Oide