From 063f87900f97903ca4c530f4e0ebff519f632352 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Fri, 22 Nov 2013 09:42:30 +0100 Subject: [PATCH 1/4] Mention environment-modifying commands in the man page --- scl.1 | 10 +++++++- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scl.1 b/scl.1 index c9d322ddfa3671826c5f0f7c160fbc260d5007c9..cbefc44a7d539370065912021a62a39844a51f80 100644 --- a/scl.1 +++ b/scl.1 @@ -27,12 +27,18 @@ collections which are enabled by the lef .PP \fI\fR is an arbitrary command or set of commands to execute within the Software Collection environment enabled. Control is returned back to the caller with the original -environment as soon as the command finishes. It \fI\fR is '-' (dash) then it is +environment as soon as the command finishes. If \fI\fR is '-' (dash) then it is read from the standard input. .PP -Note that if you use \fI\fR consisting of multiple arguments, you either need to +Note: if you use \fI\fR consisting of multiple arguments, you either need to use quotes or the \fB--\fP command separator. Everything that follows the separator will be considered a command or its argument. +.PP +Note: some commands modify user environment in some way. Those commands may +potentially break SCLs, as their activation also usually depends on env. +modification as well. Typical examples of such commands are \fBsu\fP and +\fBsudo\fP. Every collection modifies the environment differently, thus more +details may be found in the documentation of the particular collection. .SH "OPTIONS" .PP .IP "\fB-l, --list\fP" -- 1.8.3.1