fix some bugs.

This commit is contained in:
msaitoh 1998-06-11 00:58:31 +00:00
parent 1abd24fffe
commit 07a4bb0c95

View File

@ -1,4 +1,4 @@
.\" $NetBSD: csh.1,v 1.18 1998/05/28 14:56:42 msaitoh Exp $
.\" $NetBSD: csh.1,v 1.19 1998/06/11 00:58:31 msaitoh Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -534,7 +534,7 @@ but omitting word `$'
.El
.Pp
The `:' separating the event specification from the word designator
can be omitted if the argument selector begins with a `\*(ua', `$', `*'
can be omitted if the argument selector begins with a `\*(ua', `$', `*',
`\-' or `%'.
After the optional word designator can be
placed a sequence of modifiers, each preceded by a `:'.
@ -740,12 +740,10 @@ starting with a letter. The underscore character is considered a letter.
If
.Ar name
is not a shell variable, but is set in the environment, then
that value is returned (but
.Em :
modifiers and the other forms
that value is returned (but `:' modifiers and the other forms
given below are not available here).
.It $name Ns Op selector
.It ${name Ns [ selector ] }
.It ${name Ns [ selector ] Ns }
May be used to select only some of the words from the value of
.Ar name .
The selector is subjected to `$' substitution and may consist of a single
@ -956,7 +954,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.
These expressions appear in the
.Ar @,
.Ar @ ,
.Ar exit ,
.Ar if ,
and
@ -1500,7 +1498,7 @@ changes to the new directory (ala
.Ic cd )
and pushes the old current working directory
(as in
.Ic csw )
.Ic cwd )
onto the directory stack.
With a numeric argument,
.Ic pushd
@ -2128,7 +2126,7 @@ substitutions on a single line to 20.
.Xr a.out 5 ,
.Xr environ 7 ,
.br
.Em An introduction to the C shell
.Em "An introduction to the C shell"
.Sh HISTORY
.Nm
appeared in