Catching up to 3.3-19991211-STABLE.

Reviewed by:	Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG>
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
This commit is contained in:
Jun Kuriyama 1999-12-12 00:18:56 +00:00
parent 5753b027cf
commit ff72d34d54
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=6147
5 changed files with 289 additions and 197 deletions

View file

@ -14,13 +14,13 @@ MAN1 = a2p.1\
bison.1\
brandelf.1\
btreeop.1\
builtin.1\
c89.1\
calendar.1\
cap_mkdb.1\
cat.1\
catman.1\
cccp.1\
cd.1\
cdcontrol.1\
checknr.1\
chflags.1\
@ -341,7 +341,6 @@ MAN1 = a2p.1\
vt220keys.1\
vttest.1\
w.1\
wait.1\
wall.1\
wc.1\
what.1\
@ -366,10 +365,31 @@ MAN1 = a2p.1\
zmore.1\
znew.1
MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \
csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \
csh.1 stop.1 csh.1 source.1
MLINKS= builtin.1 alias.1 builtin.1 alloc.1 builtin.1 bg.1 \
builtin.1 break.1 builtin.1 breaksw.1 builtin.1 case.1 \
builtin.1 cd.1 builtin.1 chdir.1 builtin.1 command.1 \
builtin.1 continue.1 builtin.1 cwd.1 builtin.1 default.1 \
builtin.1 dirs.1 builtin.1 do.1 builtin.1 done.1 \
builtin.1 elif.1 builtin.1 else.1 \
builtin.1 end.1 builtin.1 endif.1 builtin.1 endsw.1 \
builtin.1 esac.1 builtin.1 eval.1 builtin.1 exec.1 \
builtin.1 exit.1 builtin.1 export.1 builtin.1 fc.1 \
builtin.1 fg.1 builtin.1 fi.1 builtin.1 for.1 \
builtin.1 foreach.1 builtin.1 getopts.1 builtin.1 glob.1 \
builtin.1 goto.1 builtin.1 hash.1 builtin.1 hashstat.1 \
builtin.1 history.1 builtin.1 if.1 builtin.1 jobid.1 \
builtin.1 jobs.1 builtin.1 limit.1 builtin.1 logout.1 \
builtin.1 notify.1 builtin.1 onintr.1 builtin.1 popd.1 \
builtin.1 pushd.1 builtin.1 readonly.1 builtin.1 rehash.1 \
builtin.1 repeat.1 builtin.1 set.1 builtin.1 setenv.1 \
builtin.1 setvar.1 builtin.1 shift.1 builtin.1 source.1 \
builtin.1 stop.1 builtin.1 suspend.1 builtin.1 switch.1 \
builtin.1 then.1 builtin.1 trap.1 builtin.1 type.1 \
builtin.1 ulimit.1 builtin.1 umask.1 builtin.1 unalias.1 \
builtin.1 unhash.1 builtin.1 unlimit.1 builtin.1 unset.1 \
builtin.1 unsetenv.1 builtin.1 until.1 builtin.1 wait.1 \
builtin.1 while.1
MLINKS+= ed.1 red.1
MLINKS+= test.1 '[.1'
MLINKS+= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1

View file

@ -0,0 +1,260 @@
.\"
.\" Copyright (c) 1999 Sheldon Hearn
.\"
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" %FreeBSD: src/share/man/man1/builtin.1,v 1.2.2.1 1999/12/10 13:02:58 sheldonh Exp %
.\"
.\" jpman %Id: builtin.1,v 0.0 1999/12/11 15:12:46 horikawa Stab %
.Dd September 1, 1999
.Dt BUILTIN 1
.Os
.Sh 名称
.Nm builtin ,
.Nm alias ,
.Nm alloc ,
.Nm bg ,
.Nm break ,
.Nm breaksw ,
.Nm case ,
.Nm cd ,
.Nm chdir ,
.Nm command ,
.Nm continue ,
.Nm cwd ,
.Nm default ,
.Nm dirs ,
.Nm do ,
.Nm done ,
.Nm echo ,
.Nm elif ,
.Nm else ,
.Nm end ,
.Nm endif ,
.Nm endsw ,
.Nm esac ,
.Nm eval ,
.Nm exec ,
.Nm exit ,
.Nm export ,
.Nm fc ,
.Nm fg ,
.Nm fi ,
.Nm for ,
.Nm foreach ,
.Nm getopts ,
.Nm glob ,
.Nm goto ,
.Nm hash ,
.Nm hashstat ,
.Nm history ,
.Nm if ,
.Nm jobid ,
.Nm jobs ,
.Nm kill ,
.Nm limit ,
.Nm login ,
.Nm logout ,
.Nm nice ,
.Nm nohup ,
.Nm notify ,
.Nm onintr ,
.Nm popd ,
.Nm printf ,
.Nm pushd ,
.Nm pwd ,
.Nm readonly ,
.Nm rehash ,
.Nm repeat ,
.Nm set ,
.Nm setenv ,
.Nm setvar ,
.Nm shift ,
.Nm source ,
.Nm stop ,
.Nm suspend ,
.Nm switch ,
.Nm then ,
.Nm time ,
.Nm trap ,
.Nm type ,
.Nm ulimit ,
.Nm umask ,
.Nm unalias ,
.Nm unhash ,
.Nm unlimit ,
.Nm unset ,
.Nm unsetenv ,
.Nm until ,
.Nm wait ,
.Nm which ,
.Nm while
.Nd シェル組み込みコマンド
.Sh 書式
.Nm builtin
.Op Fl options
.Op Ar args ...
.Sh 解説
シェル組み込みコマンドは、実行中のシェルプロセス内で実行されるコマンドです。
.Xr csh 1
組み込みコマンドの場合、
パイプラインの構成要素として登場する場合には、
最後の構成要素である場合を除き、コマンドはサブシェル内で実行されます。
.Pp
シェルに対して指定されたコマンドがスラッシュ
.Dq \&/
を含む場合、
指定したコマンドの最後の部分が組み込みコマンドの名前とマッチする場合でも、
シェルは組み込みコマンドを実行しません。
それ故、組み込み echo コマンドをサポートするシェルでは
.Dq Ic echo
は組み込みコマンドを実行させますが、
.Dq Pa /bin/echo
.Dq Pa ./echo
は組み込みコマンドを実行させません。
.Pp
複数のシェルに存在する組み込みコマンドもありますが、
それらの動作はこれをサポートする各シェルで異なるかもしれません。
下表は、シェル組み込みコマンドと、これらをサポートする標準シェルと、
独立ユーティリティとして存在するか否かを列挙しています
.Pp
ここには
.Xr csh 1
.Xr sh 1
の組み込みコマンドだけを列挙しています。
これらのシェルのもとでの各組み込みコマンドの動作の詳細は、
適切なマニュアルページを参照してください。
他のシェルのユーザは、
そのシェルと共に提供される文書を参照する必要があるでしょう。
.Bl -column "continueXX" "ExternalXX" "csh(1)" "sh(1)" -offset indent
.\"
.\" XXX:
.\" The correct table header here can not be rendered with mdoc's current
.\" argument maximum. When mdoc can handle sufficient arguments, the
.\" correct table header will be as follows:
.\" .It Em Command Ta Em External Ta Xr csh 1 Ta Xr sh 1
.\"
.It Em コマンド 外部 csh sh
.It Ic alias Ta \&No Ta Yes Ta Yes
.It Ic alloc Ta \&No Ta Yes Ta \&No
.It Ic bg Ta \&No Ta Yes Ta Yes
.It Ic break Ta \&No Ta Yes Ta \&No
.It Ic breaksw Ta \&No Ta Yes Ta \&No
.It Ic case Ta \&No Ta Yes Ta Yes
.It Ic cd Ta \&No Ta Yes Ta Yes
.It Ic chdir Ta \&No Ta Yes Ta \&No
.It Ic command Ta \&No Ta \&No Ta Yes
.It Ic continue Ta \&No Ta Yes Ta \&No
.It Ic cwd Ta \&No Ta Yes Ta \&No
.It Ic default Ta \&No Ta Yes Ta \&No
.It Ic dirs Ta \&No Ta Yes Ta \&No
.It Ic do Ta \&No Ta \&No Ta Yes
.It Ic done Ta \&No Ta \&No Ta Yes
.It Ic echo Ta Yes Ta Yes Ta Yes
.It Ic elif Ta \&No Ta \&No Ta Yes
.It Ic else Ta \&No Ta Yes Ta \&No
.It Ic end Ta \&No Ta Yes Ta \&No
.It Ic endif Ta \&No Ta Yes Ta \&No
.It Ic endsw Ta \&No Ta Yes Ta \&No
.It Ic esac Ta \&No Ta \&No Ta Yes
.It Ic eval Ta \&No Ta Yes Ta Yes
.It Ic exec Ta \&No Ta Yes Ta Yes
.It Ic exit Ta \&No Ta Yes Ta Yes
.It Ic export Ta \&No Ta \&No Ta Yes
.It Ic fc Ta \&No Ta \&No Ta Yes
.It Ic fg Ta \&No Ta Yes Ta Yes
.It Ic fi Ta \&No Ta \&No Ta Yes
.It Ic for Ta \&No Ta \&No Ta Yes
.It Ic foreach Ta \&No Ta Yes Ta \&No
.It Ic getopts Ta \&No Ta \&No Ta Yes
.It Ic glob Ta \&No Ta Yes Ta \&No
.It Ic goto Ta \&No Ta Yes Ta \&No
.It Ic hash Ta \&No Ta \&No Ta Yes
.It Ic hashstat Ta \&No Ta Yes Ta \&No
.It Ic history Ta \&No Ta Yes Ta \&No
.It Ic if Ta \&No Ta Yes Ta \&No
.It Ic jobid Ta \&No Ta \&No Ta Yes
.It Ic jobs Ta \&No Ta Yes Ta Yes
.It Ic kill Ta Yes Ta Yes Ta \&No
.It Ic limit Ta \&No Ta Yes Ta \&No
.It Ic login Ta Yes Ta Yes Ta \&No
.It Ic logout Ta \&No Ta Yes Ta \&No
.It Ic nice Ta Yes Ta Yes Ta \&No
.It Ic nohup Ta Yes Ta Yes Ta \&No
.It Ic notify Ta \&No Ta Yes Ta \&No
.It Ic onintr Ta \&No Ta Yes Ta \&No
.It Ic popd Ta \&No Ta Yes Ta \&No
.It Ic printf Ta Yes Ta Yes Ta Yes
.It Ic pushd Ta \&No Ta Yes Ta \&No
.It Ic pwd Ta Yes Ta \&No Ta Yes
.It Ic readonly Ta \&No Ta \&No Ta Yes
.It Ic rehash Ta \&No Ta Yes Ta \&No
.It Ic repeat Ta \&No Ta Yes Ta \&No
.It Ic set Ta \&No Ta Yes Ta \&No
.It Ic setenv Ta \&No Ta Yes Ta \&No
.It Ic setvar Ta \&No Ta \&No Ta Yes
.It Ic shift Ta \&No Ta Yes Ta Yes
.It Ic source Ta \&No Ta Yes Ta \&No
.It Ic stop Ta \&No Ta Yes Ta \&No
.It Ic suspend Ta \&No Ta Yes Ta \&No
.It Ic switch Ta \&No Ta Yes Ta \&No
.It Ic then Ta \&No Ta \&No Ta Yes
.It Ic time Ta Yes Ta Yes Ta \&No
.It Ic trap Ta \&No Ta \&No Ta Yes
.It Ic type Ta \&No Ta \&No Ta Yes
.It Ic ulimit Ta \&No Ta \&No Ta Yes
.It Ic umask Ta \&No Ta Yes Ta Yes
.It Ic unalias Ta \&No Ta Yes Ta Yes
.It Ic unhash Ta \&No Ta Yes Ta \&No
.It Ic unlimit Ta \&No Ta Yes Ta \&No
.It Ic unset Ta \&No Ta Yes Ta Yes
.It Ic unsetenv Ta \&No Ta Yes Ta \&No
.It Ic until Ta \&No Ta \&No Ta Yes
.It Ic wait Ta \&No Ta Yes Ta Yes
.It Ic which Ta Yes Ta Yes Ta \&No
.It Ic while Ta \&No Ta Yes Ta \&No
.El
.Sh 関連項目
.Xr csh 1 ,
.Xr echo 1 ,
.Xr kill 1 ,
.Xr login 1 ,
.Xr nice 1 ,
.Xr nohup 1 ,
.Xr printf 1 ,
.Xr pwd 1 ,
.Xr sh 1 ,
.Xr time 1 ,
.Xr which 1
.Sh 歴史
.Nm
マニュアルページが最初に登場したのは
.Fx 4.0
です。
.Sh 作者
このマニュアルページは
.An Sheldon Hearn Aq sheldonh@FreeBSD.org
が書きました。

View file

@ -1,99 +0,0 @@
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)cd.1 8.1 (Berkeley) 6/5/93
.\" %FreeBSD: src/share/man/man1/cd.1,v 1.2.2.1 1999/08/29 16:45:34 peter Exp %
.\" jpman %Id: cd.1,v 1.2 1997/03/26 14:56:29 horikawa Stab %
.\"
.Dd June 5, 1993
.Dt CD 1
.Os BSD 4
.Sh 名称
.Nm cd
.Nd ワーキングディレクトリを変更する
.Sh 書式
.Nm cd
.Ar directory
.Sh 解説
.Ar directory
には、新しいワーキングディレクトリになる絶対もしくは相対パス名
を記述します。
cd の相対パス名の解釈は、環境変数のCDPATH
に依存します(下記参照)。
.Sh 環境変数
以下の環境変数が cd の実行に影響します:
.Pp
.Bl -tag -width indent
.It Ev CDPATH
もし、オペランド
.Ar directory
がスラッシュ (/) で始まらず、かつ、最初がドット (.) やドット-ドット (..)
でもない場合、
.Nm cd
は環境変数
.Ev CDPATH
に記述された各ディレクトリの相対ディレクトリを順番に検索します。
新しいワーキングディレクトリは最初に見つかったディレクトリになります。
.Ev CDPATH
でディレクトリ名として空の文字列を指定した場合にはカレントディレクトリを
表します。
新しいワーキングディレクトリが
.Ev CDPATH
を用いて展開された場合には、その値が標準出力に表示されます。
.It Ev HOME
もし
.Nm cd
が引数無しで起動された場合で、環境変数
.Ev HOME
が存在しディレクトリ名が書かれている場合には、
そのディレクトリが新しいワーキングディレクトリになります。
.El
.Pp
環境変数に関する詳細については
.Xr csh 1
を参照して下さい。
.Pp
.Nm cd
は成功時には 0 を、エラーが起こった時は
0 より大きな値を返します。
.Sh 関連項目
.Xr csh 1 ,
.Xr pwd 1 ,
.Xr sh 1 ,
.Xr chdir 2
.Sh 規格
.Nm cd
.St -p1003.2
互換のはずです。

View file

@ -1,90 +0,0 @@
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)wait.1 8.1 (Berkeley) 6/5/93
.\" %FreeBSD: src/share/man/man1/wait.1,v 1.2.2.1 1999/08/29 16:45:35 peter Exp %
.\"
.\" jpman %Id: wait.1,v 1.3 1997/07/20 08:00:43 konuma Stab %
.\"
.Dd June 5, 1993
.Dt WAIT 1
.Os FreeBSD
.Sh 名称
.Nm wait
.Nd プロセスの終了を待つ
.Sh 書式
.Nm wait
.Op Ar pid
.Sh 解説
引数なしで起動された場合、
.Nm wait
はバックグラウンドで実行されている子プロセスが全て終了するまで待ちます。
.Pp
オプションは以下のとおりです。
.Bl -tag -width Ds
.It Ar pid
.Ar pid
が指定され、それがバックグラウンドで実行されている
子プロセスのプロセスIDであった場合、
.Nm wait
はそのプロセスが終了するまで待ち、そのプロセスの
ステータス情報を取得します。他のプロセスのステータス情報は
取得しません。
.Pp
pidが指定され、そのプロセスIDがバックグラウンドで
実行されている子プロセスのものでなかったら、
.Nm wait
はプロセスの終了を待たず終了します。
.El
.Pp
.Nm wait
は以下のうちのいずれかの戻り値を返します。
.Bl -tag -width Ds
.It \&0
.Nm wait
が引数なしで起動されて、全てのバックグラウンドの
子プロセスが終了するか、pidによって指定されたプロセスが
0を返して正常に終了した場合。
.It \&>\&0
指定されたプロセスが存在せず、その終了ステータスが無効で
あるか、または、指定されたプロセスが存在するかその終了ステータス
が有効で、戻り値が0でない場合。
.El
.Pp
指定されたプロセスがシグナルを受けて異常終了した場合は
.Nm wait
はそのプロセスの戻り値を返します。
.Sh 規格
.Nm wait
.St -p1003.2
互換となるように作られています。

View file

@ -31,7 +31,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" Original Revision: 1.3.4.1
.\" %FreeBSD: src/usr.sbin/IPXrouted/IPXrouted.8,v 1.3.4.2 1999/12/11 14:34:45 jhay Exp %
.\"
.\" jpman %Id: IPXrouted.8,v 1.3 1997/07/27 13:00:54 horikawa Stab %
.\"
.Dd Oct 11, 1995
@ -176,7 +177,7 @@ metric
.Pp
.Nm
が SIGINFO シグナルを受け取った場合、RIP と SAP テーブルの
現在の内容がファイル /tmp/ipxrouted.dmp に追加されます。
現在の内容がファイル /var/log/ipxrouted.dmp に追加されます。
.Sh 関連項目
.Xr ipx 3
.Sh 歴史