summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-06 13:52:29 +0000
committerache <ache@FreeBSD.org>1995-05-06 13:52:29 +0000
commita682acd0f3c1aa6f53a0bc2c9b972dcc09a1d6a4 (patch)
treeffaa1ad7007239a38fcdf92d3e7dc383dc130549 /bin/csh
parent370e7434c73c9695fba43a15fcdb2e1d640fea6e (diff)
downloadFreeBSD-src-a682acd0f3c1aa6f53a0bc2c9b972dcc09a1d6a4.zip
FreeBSD-src-a682acd0f3c1aa6f53a0bc2c9b972dcc09a1d6a4.tar.gz
Describe -m option
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/csh.113
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/csh/csh.1 b/bin/csh/csh.1
index dbaa80a..52e7dc2 100644
--- a/bin/csh/csh.1
+++ b/bin/csh/csh.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
-.\" $Id$
+.\" $Id: csh.1,v 1.2 1994/09/24 02:53:49 davidg Exp $
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -40,7 +40,7 @@
.Nd a shell (command interpreter) with C-like syntax
.Sh SYNOPSIS
.Nm csh
-.Op Fl bcefinstvVxX
+.Op Fl bcefimnstvVxX
.Op arg ...
.Nm csh
.Op Fl l
@@ -96,6 +96,14 @@ and outputs are terminals.
The shell is a login shell (only applicable if
.Fl l
is the only flag specified).
+.It Fl m
+The shell loads
+.Pa .cshrc
+even if it does not belong to the effective user.
+.Xr su 1
+can pass
+.Fl m
+to the shell.
.It Fl n
Commands are parsed, but not executed.
This aids in syntactic checking of shell scripts.
@@ -2107,6 +2115,7 @@ To detect looping, the shell restricts the number of
substitutions on a single line to 20.
.Sh SEE ALSO
.Xr sh 1 ,
+.Xr su 1 ,
.Xr access 2 ,
.Xr execve 2 ,
.Xr fork 2 ,
OpenPOWER on IntegriCloud