+ is there some variable that is passed through to rsh when
it is executed on a remote machine that contains the name of the
"local" host (i.e. the host from which rsh is being invoked)?
if, for example, i had a script on machine A called "diag"
that ran some diagnostic tests and mailed them to a certain address,
is there some way that, if i were to type "rsh A diag" on machine B,
i could have "diag" mail the results to me on machine B, instead of
(i could, of course, have diag accept the destination host
for the mail as a command line argument, and type "rsh A diag B", or
something like that, but i would like to make this as transparent as
possible to the end user.)
"Countin' on a remedy I've counted on before
Goin' with a cure that's never failed me
What you call the disease
I call the remedy" -- The Mighty Mighty Bosstones