Whitespace, punctuation fixes. Sort sections.
This commit is contained in:
parent
4b238d257d
commit
98af901532
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: csh.1,v 1.30 2001/03/16 08:45:33 fair Exp $
|
||||
.\" $NetBSD: csh.1,v 1.31 2001/10/17 21:50:57 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -62,7 +62,7 @@ login shell and a shell script command processor.
|
|||
If the first argument (argument 0) to the shell is
|
||||
.Ql Fl \& ,
|
||||
then this is a login shell.
|
||||
A login shell also can be specified by invoking the shell with the
|
||||
A login shell also can be specified by invoking the shell with the
|
||||
.Ql Fl l
|
||||
flag as the only argument.
|
||||
.Pp
|
||||
|
@ -98,7 +98,7 @@ The shell is a login shell (only applicable if
|
|||
.Fl l
|
||||
is the only flag specified).
|
||||
.It Fl m
|
||||
Read
|
||||
Read
|
||||
.Pa \&.cshrc
|
||||
even if not owned by the user. This flag is normally given only by
|
||||
.Xr su 1 .
|
||||
|
@ -565,7 +565,7 @@ Repeat the previous substitution.
|
|||
Apply the change once on each word, prefixing the above, e.g., `g&'.
|
||||
.It a
|
||||
Apply the change as many times as possible on a single word, prefixing
|
||||
the above. It can be used together with `g' to apply a substitution
|
||||
the above. It can be used together with `g' to apply a substitution
|
||||
globally.
|
||||
.It p
|
||||
Print the new command line but do not execute it.
|
||||
|
@ -583,9 +583,9 @@ The left hand side of substitutions are not regular expressions in the sense
|
|||
of the editors, but instead strings.
|
||||
Any character may be used as the delimiter in place of `/';
|
||||
a `\e' quotes the delimiter into the
|
||||
.Ar l " "
|
||||
.Ar l
|
||||
and
|
||||
.Ar r " "
|
||||
.Ar r
|
||||
strings.
|
||||
The character `&' in the right hand side is replaced by the text from
|
||||
the left.
|
||||
|
@ -621,7 +621,6 @@ Finally, a history substitution may be surrounded with `{' and `}'
|
|||
if necessary to insulate it from the characters that follow.
|
||||
Thus, after `ls \-ld ~paul' we might do `!{l}a' to do `ls \-ld ~paula',
|
||||
while `!la' would look for a command starting with `la'.
|
||||
.Pp
|
||||
.Ss Quotations with \' and \&"
|
||||
The quotation of strings by `\'' and `"' can be used
|
||||
to prevent all or some of the remaining substitutions.
|
||||
|
@ -958,7 +957,7 @@ Simply use the form `\&|&' instead of just `\&|'.
|
|||
Several of the builtin commands (to be described later)
|
||||
take expressions, in which the operators are similar to those of C, with
|
||||
the same precedence, but with the
|
||||
.Em opposite grouping:
|
||||
.Em opposite grouping :
|
||||
right to left.
|
||||
These expressions appear in the
|
||||
.Ar @ ,
|
||||
|
@ -1426,7 +1425,7 @@ man pages for an additional description of system resource limits.
|
|||
.Pp
|
||||
.It Ic login
|
||||
Terminate a login shell, replacing it with an instance of
|
||||
.Pa /usr/bin/login.
|
||||
.Pa /usr/bin/login .
|
||||
This is one way to log off, included for compatibility with
|
||||
.Xr sh 1 .
|
||||
.Pp
|
||||
|
@ -1493,7 +1492,7 @@ being ignored, all forms of
|
|||
have no meaning and interrupts
|
||||
continue to be ignored by the shell and all invoked commands.
|
||||
Finally
|
||||
.Ic onintr
|
||||
.Ic onintr
|
||||
statements are ignored in the system startup files where interrupts
|
||||
are disabled (/etc/csh.cshrc, /etc/csh.login).
|
||||
.Pp
|
||||
|
@ -1988,7 +1987,7 @@ will slow down the shell during start up.
|
|||
If
|
||||
.Ar savehist
|
||||
is just set, the shell will use the value of
|
||||
.Ar history.
|
||||
.Ar history .
|
||||
.It Ic shell
|
||||
The file in which the shell resides.
|
||||
This variable is used in forking shells to interpret files that have execute
|
||||
|
@ -2102,13 +2101,6 @@ signal; otherwise this signal is passed on to children from the state in the
|
|||
shell's parent.
|
||||
Interrupts are not allowed when a login shell is reading the file
|
||||
.Pa \&.logout .
|
||||
.Sh AUTHOR
|
||||
William Joy.
|
||||
Job control and directory stack features first implemented by J.E. Kulp of
|
||||
IIASA, Laxenburg, Austria,
|
||||
with different syntax than that used now.
|
||||
File name completion code written by Ken Greer, HP Labs.
|
||||
Eight-bit implementation Christos S. Zoulas, Cornell University.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/passwd -compact
|
||||
.It Pa ~/.cshrc
|
||||
|
@ -2169,6 +2161,13 @@ and a C-like syntax.
|
|||
There are now many shells that also have these mechanisms, plus
|
||||
a few more (and maybe some bugs too), which are available through the
|
||||
usenet.
|
||||
.Sh AUTHORS
|
||||
William Joy.
|
||||
Job control and directory stack features first implemented by J.E. Kulp of
|
||||
IIASA, Laxenburg, Austria,
|
||||
with different syntax than that used now.
|
||||
File name completion code written by Ken Greer, HP Labs.
|
||||
Eight-bit implementation Christos S. Zoulas, Cornell University.
|
||||
.Sh BUGS
|
||||
When a command is restarted from a stop,
|
||||
the shell prints the directory it started in if this is different
|
||||
|
|
Loading…
Reference in New Issue