From owner-man-jp@jp.freebsd.org  Thu Nov 23 02:34:14 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id CAA38104;
	Thu, 23 Nov 2000 02:34:14 +0900 (JST)
	(envelope-from owner-man-jp@jp.FreeBSD.org)
Received: from www.ccn-net.ne.jp (www.ccn-net.ne.jp [210.191.160.130])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id CAA38099
	for <man-jp@jp.freebsd.org>; Thu, 23 Nov 2000 02:34:13 +0900 (JST)
	(envelope-from ohsawa@catv1.ccn-net.ne.jp)
Received: from catv1.ccn-net.ne.jp ([10.16.64.85])
	by www.ccn-net.ne.jp (8.9.3+Sun/3.7W-00060811) with ESMTP id CAA13753
	for <man-jp@jp.freebsd.org>; Thu, 23 Nov 2000 02:33:36 +0900 (JST)
Message-ID: <3A1C03B9.50E7B2DB@catv1.ccn-net.ne.jp>
Date: Thu, 23 Nov 2000 02:34:49 +0900
From: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
X-Mailer: Mozilla 4.73 [ja] (Win98; U)
X-Accept-Language: ja
MIME-Version: 1.0
To: man-jp@jp.freebsd.org
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: man-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp 2897
Subject: [man-jp 2897] [tcsh.1]Please check comments.
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org
X-Originator: ohsawa@catv1.ccn-net.ne.jp

$BBg_7!w4tIl$G$9!#(B

# $B$3$s$P$s$O!"(B4.2R $B$,=P$?$N$G$_$J$5$s%$%s%9%H!<%k$GK;$7$$$N$G$7$g$&$+!)(B
# man-jp $B$,@E$+$G$9!#(B

tcsh.1 $B$b$:$$$V$sBN:[$,@0$C$F$-$^$7$?!#(B
$B:#8e$OFbMF$N6cL#$rB3$1$F$$$/$3$H$K$o$1$G$9$,!"$^$:!"Lu<T!"%A%'%C%/<T$N(B
$B%3%a%s%H$,;D$C$F$$$k$H$3$m$r$d$C$D$1$^$7$g$&!#(B

web $B$+$i(B rev1.5 $B$r<hF@$7$F%3%a%s%H$NA08e$rH4$-=P$7$^$7$?!#(B
$B:#F|$O(B 3000 $B9T$^$G$K$7$^$9!#(B($B;D$j$O8eF|(B)
$B$D$$$G$K!"BP1~$9$kItJ,$N1Q8l86J8$rH4$-=P$7$F$*$-$^$7$?!#(B
$BHV9f$O5DO@$N:]$KJ,$+$j$d$9$$$h$&$KDL$7HV9f$r$D$1$^$7$?!#(B($BJX59>e$G$9(B) 

(1)
$B1Q8l86J8!'(BLine 508 - 514
Spelling correction recognizes user-defined completions (see the
\fIcomplete\fR builtin command).  If an input word in a position for
which a completion is defined resembles a word in the completion list,
spelling correction registers a misspelling and suggests the latter
word as a correction.  However, if the input word does not match any of
the possible completions for that position, spelling correction does
not register a misspelling.

$BOBLu(B (rev1.5)$B!'(BLine 587 - 594
$B%9%Z%kD{@5$O!"%f!<%6Dj5A$NJd40$r<1JL$7$^$9(B
($BAH$_9~$_%3%^%s%I(B \fIcomplete\fR $B$r;2>H$N$3$H(B)$B!#(B
$B$b$7!"Jd40$,<B9T$5$l$k0LCV$G!"F~NO$5$l$?C18l$,Jd40%j%9%H$NCf$NC18l$K(B
$B;w$F$$$?$H$-!"%9%Z%kD{@5$O!"%_%9%9%Z%k$r<($7$F!"8+$D$+$C$?C18l$r(B
$BD{@58uJd$H$7$FDs0F$7$^$9!#$7$+$7!"F~NO$5$l$?C18l$,$=$N0LCV$G!"(B
$B$I$NJd408uJd$K$b9gCW$7$J$+$C$?;~!"%9%Z%kD{@5$O!"(B
$B%_%9%9%Z%k$r<($7$^$;$s!#(B
.\"kuma: register a misspelling ... $B%_%9%9%Z%k$r<($9(B?

# $B!V!A$O%_%9%9%Z%k$rI=<($9$k$3$H$,$G$-$^$;$s!#!W$O$d$j$9$.!)(B
# $B$^$@!"!V!A$r;2>H$7$F$/$@$5$$!W!V!A$r;2>H$N$3$H!W!V;2>H!W$,J;B8$7$F$$$^$9!#(B

(2)
$BOBLu(B (rev1.5)$B!'(BLine 978
.\" kageyama: builtin command $B!VAH$_9~$_%3%^%s%I!W(B
$BOBLu(B (rev1.5)$B!'(BLine 985
.\"kageyama: 'spelling' $B!VDV$j!W(B
$BOBLu(B (rev1.5)$B!'(BLine 1175
.\" kageyama: quote ... $B!V%/%)!<%H$9$k!W$GE}0l(B

# $B$=$N$^$^!"@hF,It$G(B word $B$KEPO?$7$F$$$$$N$G$O!)(B

(3)
$B1Q8l86J8!'(BLine 508 - 514
$\fIname\fR[\fIselector\fR]
.TP 8
${\fIname\fR[\fIselector\fR]}
Substitutes only the selected words from the value of \fIname\fR.
The \fIselector\fR is subjected to `$' substitution and may consist of
a single number or two numbers separated by a `\-'.
The first word of a variable's value is numbered `1'.
If the first number of a range is omitted it defaults to `1'.
If the last member of a range is omitted it defaults to `$#\fIname\fR'.
The \fIselector\fR `*' selects all words.
It is not an error for a range to be empty if the
second argument is omitted or in range.


$BOBLu(B (rev1.5)$B!'(BLine 978
$\fIname\fR[\fIselector\fR]
.TP 8
${\fIname\fR[\fIselector\fR]}
.\"kageyama:may consist of... "$B9=@.$G$-$k(B"$B!)(B
\fIname\fR $B$NCM$N$&$AA*Br$7$?C18l$N$_$GCV49$7$^$9!#(B\fIselector\fR $B$O(B
`$' $BCV49$,E,MQ$5$l!"(B1 $B$D$N?t$^$?$O(B `\-' $B$G6h@Z$C$?(B 2 $B$D$N?t$G(B
$B9=@.$9$k$3$H$,$G$-$^$9!#JQ?t$NCM$N@hF,$NC18l$O(B 1 $BHVL\$H$7$F?t$($^$9!#(B
$BHO0O$N:G=i$NCM$r>JN,$7$?>l9g!"%G%U%)%k%H$NCM(B 1 $B$K$J$j$^$9!#HO0O$N(B
$B:G8e$NCM$r>JN,$7$?>l9g!"%G%U%)%k%H$NCM(B `$#\fIname\fR $B$K$J$j$^$9!#(B
\fIselector\fR `*' $B$O$9$Y$F$NC18l$rA*Br$7$^$9!#(B2 $BHVL\$N0z?t$,(B
$B>JN,$5$l$k$+!"$"$k$$$OHO0O$K<}$^$C$F$$$k>l9g!"HO0O$,6u$K$J$C$F$b(B
$B%(%i!<$K$J$j$^$;$s!#(B

# may consist of ... $B$O!V9=@.$G$-$k!W$G$$$$$H;W$$$^$9$,!"(B
# a single number , two numbers $B$O!V?t!W$h$j!V?tCM!W$"$k$$$O!V?t;z!W$NJ}$,(B
# $B$o$+$j$d$9$$$N$G$O!)(B

(4)
$B1Q8l86J8!'(BLine 1306 - 1310
Command substitutions inside double
quotes (`"') retain blanks and tabs; only newlines force new words.  The single
final newline does not force a new word in any case.  It is thus possible for a
command substitution to yield only part of a word, even if the command outputs
a complete line.

$BOBLu(B (rev1.5)$B!'(BLine 1469
.\"kageyama: even if... $B$NItJ,$r$b$&>/$7Lu$7$F$_$^$7$?!#(B
2 $B=E0zMQId(B (`"') $B$NFbB&$N%3%^%s%ICV49$O!"6uGr!"%?%V$rJ]B8$7$^$9!#(B
$B2~9TJ8;z$@$1$O?7$7$/C18lJ,$1$r9T$$$^$9!#(B
$B$?$@$7!"$I$N$h$&$J>l9g$G$b:G8e$N2~9TJ8;z$@$1$O?7$7$$C18l$K$J$j$^$;$s!#(B
$B$G$9$+$i!"(B1 $B9T$^$k$^$k=PNO$9$k$h$&$J%3%^%s%I$G$b!"%3%^%s%ICV49$r(B
$BMQ$$$k$HC18l$N0lIt$@$1$r@8@.$9$k$3$H$,$G$-$^$9!#(B

# $B!V(B2 $B=E0zMQId!W$O$d$C$Q$j!"!VFs=E0zMQId!W$KLa$7$?J}$,$$$$$G$9$M!)(B

(5)
$B1Q8l86J8!'(BLine 1353 - 1354
.PP
The character `~' at the beginning of a filename refers to home directories.
Standing alone, i.e., `~', it expands to the invoker's home directory as
reflected in the value of the \fBhome\fR shell variable.  When followed by a
name consisting of letters, digits and `\-' characters the shell searches for a
user with that name and substitutes their home directory; thus `~ken' might
expand to `/usr/ken' and `~ken/chmach' to `/usr/ken/chmach'.  If the character
`~' is followed by a character other than a letter or `/' or appears elsewhere
than at the beginning of a word, it is left undisturbed.
A command like `setenv MANPATH /usr/man:/usr/local/man:~/lib/man' does not,
therefore, do home directory substitution as one might hope.
.PP

$BOBLu(B (rev1.5)$B!'(BLine 1520 - 1534
.\" kageyama: as reflected in... $B$N$H$3$m$r$b$&>/$7Lu$7$F$_$^$7$?!#(B
$B%U%!%$%kL>@hF,$NJ8;z(B `~' $B$O!"%[!<%`%G%#%l%/%H%j$r;X$7$^$9!#C1FH$G(B
$BMQ$$$i$l$?>l9g!"$D$^$j(B `~' $B$@$1$N>l9g!"%7%'%kJQ?t(B \fBhome\fR $B$NCM$K(B
$BH?1G$5$l$F$$$k$h$&$K!"8F$S=P$7$?%f!<%6$N(B
$B%[!<%`%G%#%l%/%H%j$KE83+$5$l$^$9!#(B`~' $B$ND>8e$K1QJ8;z!"(B
$B?t;z!"$^$?$OJ8;z(B `\-' $B$G9=@.$5$l$kL>A0$,B3$/>l9g!"%7%'%k$O$=$N(B
$BL>A0$r;}$D%f!<%6$r8!:w$7!"$=$N%f!<%6$N%[!<%`%G%#%l%/%H%j$KE83+$7$^$9!#(B
$B$G$9$+$i!"(B`~ken' $B$O$?$H$($P(B `/usr/ken' $B$KE83+$5$l$^$9!#(B
$B$^$?!"(B`~ken/chmach'$B$O!"$?$H$($P(B `/usr/ken/chmach' $B$KE83+$5$l$^$9!#(B
$BJ8;z(B `~' $B$N8e$m$K1QJ8;z$G$b$J$/(B `/' $B$G$b$J$$J8;z$,B3$$$?>l9g!"(B
$B$b$7$/$O!"J8;z(B `~' $B$,C18l$N@hF,0J30$K8=$l$?>l9g!"JQ99$5$l$:$K(B
$B$=$N$^$^EO$5$l$^$9!#$G$9$+$i!"(B
`setenv MANPATH /usr/man:/usr/local/man:~/lib/man' $B$N$h$&$J%3%^%s%I(B
$B$G$O!"4|BTDL$j$N%[!<%`%G%#%l%/%H%jCV49$,5/$3$j$^$;$s!#(B

(6)
$B1Q8l86J8!'(BLine 1365 - 1371
It is an error for a glob-pattern containing `*', `?', `[' or `~', with or
without `^', not to match any files.  However, only one pattern in a list of
glob-patterns must match a file (so that, e.g., `rm *.a *.c *.o' would fail
only if there were no files in the current directory ending in `.a', `.c', or
`.o'), and if the \fBnonomatch\fR shell variable is set a pattern (or list
of patterns) which matches nothing is left unchanged rather than causing
an error.

$BOBLu(B (rev1.5)$B!'(BLine 1536 - 1544
`^' $B$NM-L5$K4X$o$i$:!"(B `*', `?', `[', `~' $B$r4^$`%0%m%V%Q%?!<%s$,$I$N(B
$B%U%!%$%k$K$b%^%C%A$7$J$$>l9g$O%(%i!<$G$9!#$7$+$7!"%0%m%V%Q%?!<%s$N(B
$BNs$NCf$G$?$@(B 1 $B$D$@$1$,%U%!%$%k(B 1 $B$D$K%^%C%A$7$J$1$l$P$J$j$^$;$s(B
.\"kuma $B$I$&$$$&0UL#(B?
($B$?$H$($P!"(B`rm *.a *.c *.o' $B$O!"(B`.a', `.c', `.o' $B$G=*$k%U%!%$%k$,(B
$B%+%l%s%H%G%#%l%/%H%j$K$J$$>l9g$K8B$j<:GT$7$^$9(B)$B!#$^$?!"%7%'%kJQ?t(B
\fBnonomatch\fR $B$,@_Dj$5$l$F$$$k>l9g!"$I$l$K$b%^%C%A$7$J$$(B
$B%Q%?!<%s(B ($B$"$k$$$O%Q%?!<%s$NNs(B) $B$O%(%i!<$K$J$i$:$KL5JQ49$N$^$^(B
$B;D$5$l$^$9!#(B

# $B$o$+$j$^$;$s(B(^_^?)

(7)
$B1Q8l86J8!'(BLine 1485
.SS Input/output

$BOBLu(B (rev1.5)$B!'(BLine 1680 - 1682
.\"
.\"
.SS $BF~=PNO(B

# $B$3$3$N%3%a%s%H$OITMW$K$J$j$^$7$?!#(B

(8)
$B1Q8l86J8!'(BLine 2127
.\" .B macro can't take too many words, so I used \fB in the previous tags

$BOBLu(B (rev1.5)$B!'(BLine 2439 - 2440
.\" .B $B%^%/%m$OB?$/$NC18l$r07$($J$$$N$G!"$3$3$^$G$NItJ,$G(B \fB $B$r(B
.\" $B;H$C$F$$$^$9!#(B

# tags $B$NLu!)(B

(9)
$B1Q8l86J8!'(BLine 1411 - 1412
Now for some examples.  Some commands take only directories as arguments,
so there's no point completing plain files.

$BOBLu(B (rev1.5)$B!'(BLine 2744 - 2747
$B$G$O$$$/$D$+Nc$r<($7$^$9!#(B
$B%G%#%l%/%H%j$N$_$r0z?t$K$H$k$h$&$J%3%^%s%I$b$"$k$N$G!"(B
.\"nakano there's no point?
$BIaDL$N%U%!%$%k$rJd40$9$k$h$&$JNc$O=P$7$^$;$s!#(B

(10)
$B1Q8l86J8!'(BLine 2414 - 2417
> complete cd 'p/1/d/'
.PP
completes only the first word following `cd' (`p/1') with a directory.
\fBp\fR-type completion can also be used to narrow down command completion:

$BOBLu(B (rev1.5)$B!'(BLine 2749 - 2754
> complete cd 'p/1/d/'
.PP
`cd' $B$KB3$/:G=i$NC18l$N$_(B (`p/1') $B$r%G%#%l%/%H%j$GJd40$7$^$9!#(B
$B%3%^%s%IJd40$r9J$j$3$`$?$a$K(B \fBp\fR-$B7A<0$NJd40$r(B
.\"nakano ($B$$$C$7$g$K(B?)
$BMQ$$$k$3$H$b$G$-$^$9!#(B

(11)
$B1Q8l86J8!'(BLine 2500 - 2508
> complete dbx 'p/2/(core)/' 'p/*/c/'
.PP
completes the second argument to `dbx' with the word `core' and all other
arguments with commands.  Note that the positional completion is specified
before the next-word completion.
Because completions are evaluated from left to right, if
the next-word completion were specified first it would always match
and the positional completion would never be executed.  This is a
common mistake when defining a completion.

$BOBLu(B (rev1.5)$B!'(BLine 2844 - 2856
> complete dbx 'p/2/(core)/' 'p/*/c/'
.PP
$B$3$l$O(B `dbx' $B$NBh(B 2 $B0z?t$r(B `core' $B$H$$$&C18l$GJd40$7!"(B
$BB>$N$9$Y$F$N0z?t$r%3%^%s%I$GJd40$7$^$9!#(B
$B0LCV;XDj%?%$%W$NJd40$O!"C`<!Jd40$h$jA0$K;XDj$9$k$3$H$KCm0U$7$F$/$@$5$$!#(B
.\"nakano positional completion & next-word completion $B$NLu8l$O!"$H$j$"$($:(B
.\"WORD:        positional completion   $B0LCV;XDjJd40(B
.\"WORD:        next-word completion    $BC`<!Jd40(B
.\"nakano $B$H$7$F$_$^$7$?!#(B
$BJd40$O:8$+$i1&$KI>2A$5$l$k$N$G!"(B
($B>o$K%^%C%A$9$k(B) $BC`<!Jd40$,@h$K;XDj$5$l$F$$$k$H!"(B
$B0LCV;XDjJd40$O7h$7$F9T$o$l$J$/$J$C$F$7$^$$$^$9!#(B
$B$3$l$OJd40Dj5A$N:]$K$h$/$d$k%_%9$J$N$GCm0U$7$F$/$@$5$$!#(B

(12)
$B1Q8l86J8!'(BLine 2542 - 2546
> complete finger 'c/*@/$hostnames/' 'p/1/u/@'
.PP
completes arguments to `finger' from the list of users, appends an `@',
and then completes after the `@' from the `hostnames' variable.  Note
again the order in which the completions are specified.

$BOBLu(B (rev1.5)$B!'(BLine 2896 - 2901
> complete finger 'c/*@/$hostnames/' 'p/1/u/@'
.PP
$B$3$l$O(B `finger' $B$N0z?t$r!"$^$:%f!<%6$N%j%9%H$+$iJd40$7!"(B
$B$=$l$K(B `@' $B$rDI2C$7!"$5$i$K(B `@' $B$N8e$r(B `hostnames' $BJQ?t(B
.\"nakano $B%7%'%kJQ?t!)(B
$B$N%j%9%H$+$iJd40$7$^$9!#$3$3$G$bJd40;XDj$N=g=x$KCm0U$7$F$/$@$5$$!#(B

# hostnames ???

(13)
$B1Q8l86J8!'(BLine 2579 - 2583
Remember that programmed completions are ignored if the word being completed
is a tilde substitution (beginning with `~') or a variable (beginning with `$').
\fIcomplete\fR is an experimental feature, and the syntax may change
in future versions of the shell.
See also the \fIuncomplete\fR builtin command.

$BOBLu(B (rev1.5)$B!'(BLine 2934 - 2940
$BJd40;XDj$O!"BP>]$H$J$kC18l$,%A%k%@CV49(B (`~' $B$G$O$8$^$k(B) $B$d(B
$BJQ?t(B (`$' $B$G$O$8$^$k(B) $B$N>l9g$OL5;k$5$l$k$3$H$KN10U$7$F$/$@$5$$!#(B
.\"WORD:        programmed completion   $BJd40;XDj(B
.\"WORD:        tilde substitution      $B%A%k%@BeF~(B ($B$&!<$s(B...)
\fIcomplete\fR $B$O<B83E*$J5!G=$G$"$j!"(B
$BJ8K!$O$3$N%7%'%k$N>-Mh$N%P!<%8%g%s$G$OJQ99$5$l$k$+$b$7$l$^$;$s!#(B
$BAH$_9~$_%3%^%s%I(B \fIuncomplete\fR $B$N@bL@$b8+$F$/$@$5$$!#(B

(14)
$B1Q8l86J8!'(BLine 2611 - 2624
With \fB\-S\fR, the second form saves the directory stack to \fIfilename\fR
as a series of \fIcd\fR and \fIpushd\fR commands.
With \fB\-L\fR, the shell sources \fIfilename\fR, which is presumably
a directory stack file saved by the \fB\-S\fR option or the \fBsavedirs\fR
mechanism.
In either case, \fBdirsfile\fR is used if \fIfilename\fR is not given and
\fI~/.cshdirs\fR is used if \fBdirsfile\fR is unset.
.PP
Note that login shells do the equivalent of `dirs \-L' on startup
and, if \fBsavedirs\fR is set, `dirs \-S' before exiting.
Because only \fI~/.tcshrc\fR is normally sourced before \fI~/.cshdirs\fR,
\fBdirsfile\fR should be set in \fI~/.tcshrc\fR rather than \fI~/.login\fR.
.PP
The last form clears the directory stack.

$BOBLu(B (rev1.5)$B!'(BLine 2971 - 2991
\fB\-S\fR $B$r;XDj$7$?(B 2 $BHVL\$N7A<0$G$O!"(B
$B%G%#%l%/%H%j%9%?%C%/$r(B
\fIcd\fR $B$H(B \fIpushd\fR $B$+$i$J$k%3%^%s%INs$H$7$F(B
\fIfilename\fR $B$KJ]B8$7$^$9!#(B
\fB\-L\fR $B$r;XDj$9$k$H!"$3$N%7%'%k$O(B \fIfilename\fR $B$r(B source $B$7$^$9!#(B
.\"nakano $BF0;l$N(B source $B$O(B...
$B$3$N%U%!%$%k$O!"0JA0$K(B \fB\-S\fR $B%*%W%7%g%s$d(B
\fBsavedirs\fR $B5!9=$GJ]B8$5$l$?%G%#%l%/%H%j%9%?%C%/$G$9!#(B
$B$$$:$l$N>l9g$G$b!"(B \fIfilename\fR $B$,M?$($i$l$J$1$l$P(B
\fBdirsfile\fR $B$rMQ$$$^$9!#(B
\fBdirsfile\fR $B$b;XDj$5$l$F$$$J$1$l$P(B \fI~/.cshdirs\fR $B$rMQ$$$^$9!#(B
.PP
$B%m%0%$%s%7%'%k$O(B `dirs \-L' $B$HF1MM$N$3$H$r5/F0;~$K9T$C$F$*$j!"(B
$B$^$?(B \fBsavedirs\fR $B$,@_Dj$5$l$F$$$l$P=*N;A0$K(B
`dirs \-S' $B$HF1MM$N$3$H$r9T$$$^$9!#(B
$BDL>o(B \fI~/.tcshrc\fR $B$@$1$,(B \fI~/.cshdirs\fR $B$NA0$K(B source $B$5$l$k$N$G!"(B
\fBdirsfile\fR $B$O(B \fI~/.login\fR $B$G$O$J$/(B
\fI~/.tcshrc\fR $B$G@_Dj$9$Y$-$G$9!#(B
.\"nakano $B0UL#<h$l$F$$$^$;$s!#(B
.PP
$B:G8e$N7A<0$O%G%#%l%/%H%j%9%?%C%/$r%/%j%"$7$^$9!#(B

(15)
$B1Q8l86J8!'(BLine 2707 - 2729
.B foreach \fIname \fB(\fIwordlist\fB)
.br
\&...
.PD 0
.TP 8
.B end
Successively sets the variable \fIname\fR to each member of
\fIwordlist\fR and executes the sequence of commands between this command
and the matching \fIend\fR.  (Both \fIforeach\fR and \fIend\fR
must appear alone on separate lines.)  The builtin command
\fIcontinue\fR may be used to continue the loop prematurely and
the builtin command \fIbreak\fR to terminate it prematurely.
When this command is read from the terminal, the loop is read once
prompting with `foreach? ' (or \fBprompt2\fR) before any statements in
the loop are executed.  If you make a mistake typing in a
loop at the terminal you can rub it out.
.PD
.TP 8
.B getspath \fR(+)
Prints the system execution path.  (TCF only)
.TP 8
.B getxvers \fR(+)
Prints the experimental version prefix.  (TCF only)

$BOBLu(B (rev1.5)$B!'(BLine 3078 - 3105
.B foreach \fIname \fB(\fIwordlist\fB)
.br
\&...
.PD 0
.TP 8
.B end
\fIwordlist\fR $B$N%a%s%P!<$r(B \fIname\fR $B$K=g!9$KBeF~$7!"(B
$B$3$l$HBP1~$9$k(B \fIend\fR $B$K64$^$l$?HO0O$N(B
$B%3%^%s%I%7!<%1%s%9$r<B9T$7$^$9!#(B
(\fIforeach\fR $B$H(B \fIend\fR $B$O(B 1 $B9T$KC1FH$G8=$l$J$1$l$P$J$j$^$;$s!#(B)
$BAH$_9~$_%3%^%s%I(B \fIcontinue\fR $B$rMQ$$$k$H(B
$B%k!<%W$rESCf$G7QB3$9$k$3$H$,$G$-!"(B 
$BAH$_9~$_%3%^%s%I(B \fIbreak\fR $B$rMQ$$$k$H(B
$B%k!<%W$rESCf$G=*N;$5$;$k$3$H$,$G$-$^$9!#(B
$B$3$N%3%^%s%I$,C<Kv$+$iFI$_9~$^$l$k$H!"(B
$B0lEY%k!<%W$r(B `foreach?' $B%W%m%s%W%H(B ($B$"$k$$$O(B \fBprompt2\fR)
$B$GFI$_9~$_!"A4BN$rFI$_=*$($F$+$i%k!<%W$N3FJ8$r<B9T$7$^$9!#(B
$BC<Kv$+$i$NF~NO;~$K%k!<%W$NESCf$G%?%$%W%_%9$r$7$?>l9g$O(B
$B=$@5$G$-$^$9!#(B
.\"nakano rub out $B$NLu8l$,$A$g$C$H%T%s$HMh$^$;$s!#(B
.PD
.TP 8
.B getspath \fR(+)
$B%7%9%F%`$N<B9T%Q%9$rI=<($7$^$9!#(B (TCF $B$N$_(B)
.TP 8
.B getxvers \fR(+)
$B<B83E*%P!<%8%g%s$N%W%l%U%#%C%/%9$rI=<($7$^$9!#(B (TCF $B$N$_(B)
.\"nakano ....

(16)
$B1Q8l86J8!'(BLine 2750 -2751
On machines without \fIvfork\fR(2), prints only the number and size of
hash buckets.

$BOBLu(B (rev1.5)$B!'(BLine 1469
\fIvfork\fR(2) $B$N$J$$%^%7%s$G$O!"(B
$BC1$K%O%C%7%e%P%1%D$N%5%$%:$rI=<($7$^$9!#(B

# "hash buckets" $B!V%O%C%7%e%P%1%D!W"*!V%O%C%7%e%P%1%C%H!W(B

(17)
$B1Q8l86J8!'(BLine 2790 - 2796
Note that login shells do the equivalent of `history \-L' on startup
and, if \fBsavehist\fR is set, `history \-S' before exiting.
Because only \fI~/.tcshrc\fR is normally sourced before \fI~/.history\fR,
\fBhistfile\fR should be set in \fI~/.tcshrc\fR rather than \fI~/.login\fR.
.PP
If \fBhistlit\fR is set, the first and second forms print and save the literal
(unexpanded) form of the history list.

$BOBLu(B (rev1.5)$B!'(BLine 3172 - 3182
$B%m%0%$%s%7%'%k$O(B `history \-L' $B$HF1MM$N$3$H$r5/F0;~$K9T$C$F$*$j!"(B
$B$^$?(B \fBsavehist\fR $B$,@_Dj$5$l$F$$$l$P=*N;A0$K(B
`history \-S' $B$HF1MM$N$3$H$r9T$$$^$9!#(B
$BDL>o(B \fI~/.tcshrc\fR $B$@$1$,(B \fI~/.history\fR $B$NA0$K(B source $B$5$l$k$N$G!"(B
\fBhistfile\fR $B$O(B \fI~/.login\fR $B$G$O$J$/(B
\fI~/.tcshrc\fR $B$G@_Dj$9$Y$-$G$9!#(B
.\"nakano $B0UL#<h$l$F$$$^$;$s!#(B
.PP
\fBhistlit\fR $B$,@_Dj$5$l$F$$$k$H!"(B
$B:G=i$N7A<0$H(B 2 $BHVL\$N7A<0$OMzNr%j%9%H$r(B
$BJ8;zDL$j$N(B ($BE83+$5$l$J$$(B) $B$+$?$A$GI=<(!&J]B8$7$^$9!#(B

-----------------------------------------------------------------------
OHSAWA Chitoshi        mailto:ohsawa@catv1.ccn-net.ne.jp
 $BBg_7@iIR(B
