From ac00ba8d82ff1b7e9c4ef9dc181649c3d6c86411 Mon Sep 17 00:00:00 2001 From: murray Date: Sun, 14 Dec 2008 22:48:48 +0000 Subject: Add an ENVIRONMENT section to note that the RSH variable can be set to override the use of the rsh(1) program in rcmd(3). PR: docs/51133 Obtained from: NetBSD, partially MFC after: 3 weeks --- lib/libc/net/rcmd.3 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index e0643db..a7d2f8b 100644 --- a/lib/libc/net/rcmd.3 +++ b/lib/libc/net/rcmd.3 @@ -238,6 +238,13 @@ For .Fn rcmd_af , .Dv PF_UNSPEC is also allowed. +.Sh ENVIRONMENT +.Bl -tag -width RSH +.It Ev RSH +When using the +.Fn rcmd +function, this variable is used as the program to run instead of +.Xr rsh 1 . .Sh DIAGNOSTICS The .Fn rcmd -- cgit v1.1