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