File: _type.txt

package info (click to toggle)
yash 2.60-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,152 kB
  • sloc: ansic: 34,578; makefile: 851; sh: 808; sed: 16
file content (27 lines) | stat: -rw-r--r-- 1,147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
= Type 組込みコマンド
:encoding: UTF-8
:lang: ja
//:title: Yash マニュアル - Type 組込みコマンド

dfn:[Type 組込みコマンド]はコマンドの種類を特定します。

[[syntax]]
== 構文

- +type [-abefkp] [{{コマンド}}...]+

[[description]]
== 説明

Type コマンドは link:_command.html[command コマンド]に +-V+ オプションを付けたものと同じです。その他オプション・オペランド・終了ステータスは command コマンドと同じです。

[[notes]]
== 補足

POSIX では、type コマンドと command コマンドとの関係について規定していません。従って他のシェルの type コマンドは command コマンドに +-V+ オプションを付けたものとは異なる動作をすることがあります。また POSIX は type コマンドのオプションを規定していません。

link:posix.html[POSIX 準拠モード]では少なくとも一つ{{コマンド}}を指定する必要があります。

Type コマンドは{zwsp}link:builtin.html#types[必須組込みコマンド]です。

// vim: set filetype=asciidoc expandtab: