= Yet another shell (yash) マニュアル
渡邊裕貴 <magicant@wonderwand.net>
v{yashversion},
:encoding: UTF-8
:lang: ja
//:title: Yash マニュアル - Yet another shell (yash) マニュアル
:description: Yash のマニュアルの目次

[[contents-list]]
== 目次

[role="list-group"]
--
. link:intro.html[はじめに]
. link:invoke.html[シェルの起動]
.. link:invoke.html#arguments[起動時のコマンドライン引数]
.. link:invoke.html#init[シェルの初期化処理]
. link:syntax.html[コマンドの文法]
.. link:syntax.html#tokens[トークンの解析と予約語]
.. link:syntax.html#quotes[クォート]
... link:syntax.html#dollar-single[ドル一重引用符]
.. link:syntax.html#aliases[エイリアス]
.. link:syntax.html#simple[単純コマンド]
.. link:syntax.html#pipelines[パイプライン]
.. link:syntax.html#and-or[And/or リスト]
.. link:syntax.html#async[コマンドの区切りと非同期コマンド]
.. link:syntax.html#compound[複合コマンド]
... link:syntax.html#grouping[グルーピング]
... link:syntax.html#if[If 文]
... link:syntax.html#while-until[While および until ループ]
... link:syntax.html#for[For ループ]
... link:syntax.html#case[Case 文]
... link:syntax.html#double-bracket[二重ブラケットコマンド]
.. link:syntax.html#funcdef[関数定義]
. link:params.html[パラメータと変数]
.. link:params.html#positional[位置パラメータ]
.. link:params.html#special[特殊パラメータ]
.. link:params.html#variables[変数]
... link:params.html#shellvars[シェルが使用する変数]
... link:params.html#arrays[配列]
. link:expand.html[単語の展開]
.. link:expand.html#tilde[チルダ展開]
.. link:expand.html#params[パラメータ展開]
... link:expand.html#param-prefix[前置詞]
... link:expand.html#param-name[パラメータ名]
... link:expand.html#param-index[インデックス]
... link:expand.html#param-mod[加工指定]
.. link:expand.html#cmdsub[コマンド置換]
.. link:expand.html#arith[数式展開]
.. link:expand.html#brace[ブレース展開]
.. link:expand.html#split[単語分割]
.. link:expand.html#glob[パス名展開]
... link:expand.html#extendedglob[パス名展開の拡張機能]
. link:pattern.html[パターンマッチング記法]
.. link:pattern.html#normal[通常の文字]
.. link:pattern.html#single[一文字ワイルドカード]
.. link:pattern.html#multiple[複数文字ワイルドカード]
.. link:pattern.html#bracket[ブラケット記法]
.. link:pattern.html#bra-normal[(ブラケット記法パターンにおける) 通常の文字]
.. link:pattern.html#bra-range[範囲指定]
.. link:pattern.html#bra-colsym[照合シンボル]
.. link:pattern.html#bra-eqclass[等価クラス]
.. link:pattern.html#bra-chclass[文字クラス]
. link:redir.html[リダイレクト]
.. link:redir.html#file[ファイルへのリダイレクト]
... link:redir.html#socket[ソケットリダイレクト]
.. link:redir.html#dup[ファイル記述子の複製]
.. link:redir.html#here[ヒアドキュメントとヒアストリング]
.. link:redir.html#pipe[パイプリダイレクト]
.. link:redir.html#process[プロセスリダイレクト]
. link:exec.html[コマンドの実行とその環境]
.. link:exec.html#simple[単純コマンドの実行]
... link:exec.html#declaration-utility[宣言ユーティリティ]
... link:exec.html#search[コマンドの検索]
.. link:exec.html#exit[シェルの終了]
.. link:exec.html#function[関数]
... link:exec.html#localvar[ローカル変数]
.. link:exec.html#environment[コマンドの実行環境]
... link:exec.html#subshell[サブシェル]
. link:interact.html[対話モード]
.. link:interact.html#prompt[プロンプト]
.. link:interact.html#history[コマンド履歴]
.. link:interact.html#mailcheck[メールチェック]
. link:job.html[ジョブ制御]
.. link:job.html#jobid[ジョブ ID]
. link:builtin.html[組込みコマンド]
.. link:builtin.html#types[組込みコマンドの種類]
.. link:builtin.html#argsyntax[コマンドの引数の構文]
. link:lineedit.html[行編集]
.. link:lineedit.html#options[行編集のオプション]
.. link:lineedit.html#modes[編集モード]
.. link:lineedit.html#commands[行編集コマンド]
... link:lineedit.html#basic-commands[基本的な編集コマンド]
... link:lineedit.html#motion-commands[移動コマンド]
... link:lineedit.html#editing-commands[編集コマンド]
... link:lineedit.html#completion-commands[補完コマンド]
... link:lineedit.html#vi-commands[Vi 固有のコマンド]
... link:lineedit.html#emacs-commands[Emacs 固有のコマンド]
... link:lineedit.html#history-commands[コマンド履歴関連のコマンド]
... link:lineedit.html#search-commands[コマンド履歴検索モードのコマンド]
.. link:lineedit.html#escape[エスケープシーケンス]
.. link:lineedit.html#completion[コマンドライン補完]
... link:lineedit.html#completion-detail[補完動作の詳細]
.. link:lineedit.html#prediction[コマンドライン推定]
. link:posix.html[POSIX 準拠モード]
. link:faq.html[よくある質問 / 困ったときは]
.. link:faq.html#unicode[Unicode (非 ASCII) 文字を使うには?]
.. link:faq.html#lineediting[行編集が動かない]
. link:fgrammar.html[構文の形式的定義]
.. link:fgrammar.html#token[トークン分割]
... link:fgrammar.html#classification[トークン分類]
... link:fgrammar.html#comments[コメント]
.. link:fgrammar.html#syntax[構文]
... link:fgrammar.html#alias[エイリアス置換]
--

[[builtins]]
== 組込みコマンド

括弧書きの文字は{zwsp}link:builtin.html#types[組込みコマンドの種類]を表します。
(S) は特殊組込みコマンド、(M) は必須組込みコマンド、(L) は任意組込みコマンド、(X) は拡張組込みコマンド、無印は代替組込みコマンドです。

[[alpha-order]]
=== 組込みコマンド一覧 (アルファベット順)

[role="list-group"]
- link:_dot.html[+.+ (ドット)] (S)
- link:_colon.html[+:+ (コロン)] (S)
- link:_test.html[+[+ (括弧)]
- link:_alias.html[+alias+] (M)
- link:_array.html[+array+] (X)
- link:_bg.html[+bg+] (M)
- link:_bindkey.html[+bindkey+] (L)
- link:_break.html[+break+] (S)
- link:_cd.html[+cd+] (M)
- link:_command.html[+command+] (M)
- link:_complete.html[+complete+] (L)
- link:_continue.html[+continue+] (S)
- link:_dirs.html[+dirs+] (L)
- link:_disown.html[+disown+] (L)
- link:_echo.html[+echo+]
- link:_eval.html[+eval+] (S)
- link:_exec.html[+exec+] (S)
- link:_exit.html[+exit+] (S)
- link:_export.html[+export+] (S)
- link:_false.html[+false+]
- link:_fc.html[+fc+] (M)
- link:_fg.html[+fg+] (M)
- link:_getopts.html[+getopts+] (M)
- link:_hash.html[+hash+] (M)
- link:_help.html[+help+] (L)
- link:_history.html[+history+] (L)
- link:_jobs.html[+jobs+] (M)
- link:_kill.html[+kill+] (M)
- link:_local.html[+local+] (L)
- link:_popd.html[+popd+] (L)
- link:_printf.html[+printf+]
- link:_pushd.html[+pushd+] (L)
- link:_pwd.html[+pwd+]
- link:_read.html[+read+] (M)
- link:_readonly.html[+readonly+] (S)
- link:_return.html[+return+] (S)
- link:_set.html[+set+] (S)
- link:_shift.html[+shift+] (S)
- link:_suspend.html[+suspend+] (L)
- link:_test.html[+test+]
- link:_times.html[+times+] (S)
- link:_trap.html[+trap+] (S)
- link:_true.html[+true+]
- link:_type.html[+type+] (M)
- link:_typeset.html[+typeset+] (L)
- link:_ulimit.html[+ulimit+] (M)
- link:_umask.html[+umask+] (M)
- link:_unalias.html[+unalias+] (M)
- link:_unset.html[+unset+] (S)
- link:_wait.html[+wait+] (M)

[[groups]]
=== 種類別組込みコマンド一覧

[[g-control]]
==== 実行制御

[role="list-group"]
- link:_eval.html[+eval+] (S)
- link:_dot.html[+.+ (ドット)] (S)
- link:_exec.html[+exec+] (S)
- link:_command.html[+command+] (M)
- link:_hash.html[+hash+] (M)
- link:_break.html[+break+] (S)
- link:_continue.html[+continue+] (S)
- link:_return.html[+return+] (S)
- link:_suspend.html[+suspend+] (L)
- link:_exit.html[+exit+] (S)

[[g-environ]]
==== コマンド実行環境関連

[role="list-group"]
- link:_set.html[+set+] (S)
- link:_ulimit.html[+ulimit+] (M)
- link:_umask.html[+umask+] (M)
- link:_trap.html[+trap+] (S)
- link:_cd.html[+cd+] (M)
- link:_pwd.html[+pwd+]
- link:_times.html[+times+] (S)

[[g-job]]
==== ジョブ制御・シグナル関連

[role="list-group"]
- link:_jobs.html[+jobs+] (M)
- link:_fg.html[+fg+] (M)
- link:_bg.html[+bg+] (M)
- link:_wait.html[+wait+] (M)
- link:_disown.html[+disown+] (L)
- link:_kill.html[+kill+] (M)
- link:_trap.html[+trap+] (S)

[[g-variable]]
==== パラメータ・変数関連

[role="list-group"]
- link:_typeset.html[+typeset+] (L)
- link:_export.html[+export+] (S)
- link:_local.html[+local+] (L)
- link:_readonly.html[+readonly+] (S)
- link:_array.html[+array+] (X)
- link:_set.html[+set+] (S)
- link:_shift.html[+shift+] (S)
- link:_read.html[+read+] (M)
- link:_getopts.html[+getopts+] (M)
- link:_unset.html[+unset+] (S)

[[g-directory]]
==== 作業ディレクトリ関連

[role="list-group"]
- link:_cd.html[+cd+] (M)
- link:_pwd.html[+pwd+]
- link:_pushd.html[+pushd+] (L)
- link:_popd.html[+popd+] (L)
- link:_dirs.html[+dirs+] (L)

[[g-alias]]
==== エイリアス関連

[role="list-group"]
- link:_alias.html[+alias+] (M)
- link:_unalias.html[+unalias+] (M)

[[g-history]]
==== コマンド履歴関連

[role="list-group"]
- link:_fc.html[+fc+] (M)
- link:_history.html[+history+] (L)

[[g-print]]
==== 文字列出力

[role="list-group"]
- link:_echo.html[+echo+]
- link:_printf.html[+printf+]

[[g-lineedit]]
==== 行編集関連

[role="list-group"]
- link:_bindkey.html[+bindkey+] (L)
- link:_complete.html[+complete+] (L)

[[g-misc]]
==== その他のコマンド

[role="list-group"]
- link:_help.html[+help+] (L)
- link:_colon.html[+:+ (コロン)] (S)
- link:_true.html[+true+]
- link:_false.html[+false+]
- link:_test.html[+[+ (括弧), +test+]
- link:_type.html[+type+] (M)

// vim: set filetype=asciidoc expandtab:
