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 .\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -534,7 +534,7 @@ but omitting word `$'
.El .El
.Pp .Pp
The `:' separating the event specification from the word designator 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 `%'. `\-' or `%'.
After the optional word designator can be After the optional word designator can be
placed a sequence of modifiers, each preceded by a `:'. 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 If
.Ar name .Ar name
is not a shell variable, but is set in the environment, then is not a shell variable, but is set in the environment, then
that value is returned (but that value is returned (but `:' modifiers and the other forms
.Em :
modifiers and the other forms
given below are not available here). given below are not available here).
.It $name Ns Op selector .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 May be used to select only some of the words from the value of
.Ar name . .Ar name .
The selector is subjected to `$' substitution and may consist of a single The selector is subjected to `$' substitution and may consist of a single
@ -1500,7 +1498,7 @@ changes to the new directory (ala
.Ic cd ) .Ic cd )
and pushes the old current working directory and pushes the old current working directory
(as in (as in
.Ic csw ) .Ic cwd )
onto the directory stack. onto the directory stack.
With a numeric argument, With a numeric argument,
.Ic pushd .Ic pushd
@ -2128,7 +2126,7 @@ substitutions on a single line to 20.
.Xr a.out 5 , .Xr a.out 5 ,
.Xr environ 7 , .Xr environ 7 ,
.br .br
.Em An introduction to the C shell .Em "An introduction to the C shell"
.Sh HISTORY .Sh HISTORY
.Nm .Nm
appeared in appeared in