1 | ---
|
2 | in_progress: yes
|
3 | ---
|
4 |
|
5 | Process Model
|
6 | =============
|
7 |
|
8 | Related: [Interpreter State](interpreter-state.html). These two docs are the
|
9 | missing documentation for shell!
|
10 |
|
11 |
|
12 | <div id="toc">
|
13 | </div>
|
14 |
|
15 | ## Constructs
|
16 |
|
17 |
|
18 | ### Pipelines
|
19 |
|
20 | - `shopt -s lastpipe`
|
21 |
|
22 | ### Functions Can Be Transparently Put in Pipelines
|
23 |
|
24 |
|
25 | ### Explicit Subshells are Rarely Needed
|
26 |
|
27 | - prefer `pushd` / `popd`, or `cd { }` in YSH.
|
28 |
|
29 | ### Redirects
|
30 |
|
31 |
|
32 | ### Other
|
33 |
|
34 | - xargs, xargs -P
|
35 | - find -exec
|
36 |
|
37 | <!-- See [Unix Tools] on the wiki. -->
|
38 |
|
39 | ## Builtins
|
40 |
|
41 | ### [wait]($help)
|
42 |
|
43 | ### [fg]($help)
|
44 |
|
45 | ### [bg]($help)
|
46 |
|
47 | ### [trap]($help)
|
48 |
|
49 |
|
50 |
|