「Transwiki:Bash Shell Scripting」の版間の差分
削除された内容 追加された内容
M 章立ての翻訳→Index of symbols |
M →シンボル一覧 |
||
1,267 行
==シンボル一覧==
<!-- TODO: Use wiki-text format. -->
1,335 ⟶ 1,336行目:
<tr> <td><tt>`…`</tt></td> <td><ul><li>Triggers command substitution; equivalent to <tt>$(…)</tt>, but is somewhat more error-prone.</li></ul></td> </tr>
<tr> <td><tt>{</tt></td> <td>
<tr> <td><tt>|</tt></td> <td>Pipe. Used for redirecting input to output. Specifically, it takes the output of the command on the left hand side, runs the program on the right side, and then passes the contents of the first command's output to the second, as if it were being typed from a keyboard. 'ls -l | grep Desk' is equivalent to running "grep Desk", and then manually typing what ls -l would have output. Every press of the return key would then trigger grep until ^D is pressed to pass the EOF.<!--I think that is a very intuitive way to think about it.--></td> </tr>
<tr> <td><tt>}</tt></td> <td>
<tr> <td><tt>~</tt></td> <td>チルダ。ホームディレクトリを参照するために使用する。ログインしている、"mrwhite"のホームディレクトリ/home/mrwhiteに移動するには、 cd ~ (または cd)。ログインしていないユーザーの場合は、'cd ~mrwhite' のように名前をいれる。</td> </tr>
</table>
|