Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/csh Whitespace, punctuation fixes. Sort sections.
details: https://anonhg.NetBSD.org/src/rev/9eda253e1bf1
branches: trunk
changeset: 516151:9eda253e1bf1
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Oct 17 21:50:57 2001 +0000
description:
Whitespace, punctuation fixes. Sort sections.
diffstat:
bin/csh/csh.1 | 35 +++++++++++++++++------------------
1 files changed, 17 insertions(+), 18 deletions(-)
diffs (120 lines):
diff -r b305d3ad700f -r 9eda253e1bf1 bin/csh/csh.1
--- a/bin/csh/csh.1 Wed Oct 17 21:14:45 2001 +0000
+++ b/bin/csh/csh.1 Wed Oct 17 21:50:57 2001 +0000
@@ -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 @@
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 @@
.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 @@
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 @@
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 @@
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 @@
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 @@
.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 @@
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 @@
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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index