diff options
author | 2020-07-08 16:05:27 +0000 | |
---|---|---|
committer | 2020-07-08 16:05:27 +0000 | |
commit | 09dd33a6a6aa2fa5be759e47255059d08d4e3a5e (patch) | |
tree | 25e61d11edaf63f0566c31c2f22504467386e32b | |
parent | Make membar_consumer() a plain compiler barrier in kernel on octeon. (diff) | |
download | wireguard-openbsd-09dd33a6a6aa2fa5be759e47255059d08d4e3a5e.tar.xz wireguard-openbsd-09dd33a6a6aa2fa5be759e47255059d08d4e3a5e.zip |
Clarify that csh's -f flag is not just about .cshrc.
We don't need to be too specific about this in su(1), leave the
details for csh(1). OK jca@
-rw-r--r-- | bin/csh/csh.1 | 10 | ||||
-rw-r--r-- | usr.bin/su/su.1 | 6 |
2 files changed, 6 insertions, 10 deletions
diff --git a/bin/csh/csh.1 b/bin/csh/csh.1 index b97e6aa35f6..f984356e846 100644 --- a/bin/csh/csh.1 +++ b/bin/csh/csh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.1,v 1.83 2019/07/29 09:04:36 schwarze Exp $ +.\" $OpenBSD: csh.1,v 1.84 2020/07/08 16:05:27 millert Exp $ .\" $NetBSD: csh.1,v 1.10 1995/03/21 09:02:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)csh.1 8.2 (Berkeley) 1/21/94 .\" -.Dd $Mdocdate: July 29 2019 $ +.Dd $Mdocdate: July 8 2020 $ .Dt CSH 1 .Os .Sh NAME @@ -83,10 +83,8 @@ Any remaining arguments are placed in The shell exits if any invoked command terminates abnormally or yields a non-zero exit status. .It Fl f -The shell will start faster, because it will neither search for nor -execute commands from the file -.Pa .cshrc -in the invoker's home directory. +The shell will start faster, because it will not execute user or +system startup files, load saved history or perform command hashing. Note: if the environment variable .Ev HOME is not set, fast startup is the default. diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index 99fd4b2772c..e0404b7fc7c 100644 --- a/usr.bin/su/su.1 +++ b/usr.bin/su/su.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: su.1,v 1.36 2020/07/08 10:35:06 jca Exp $ +.\" $OpenBSD: su.1,v 1.37 2020/07/08 16:05:27 millert Exp $ .\" .\" Copyright (c) 1988, 1990 The Regents of the University of California. .\" All rights reserved. @@ -104,9 +104,7 @@ You may only override the default class if you're already root. .It Fl f If the invoked shell is .Xr csh 1 , -this option prevents it from reading the -.Dq Pa .cshrc -file. +this option prevents it from executing system or user startup files. For other shells, start a regular shell instead of a login shell when the .Fl l |