aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/fish.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fish.md')
-rw-r--r--src/tools/fish.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/fish.md b/src/tools/fish.md
index 117ead2..fd1b2f7 100644
--- a/src/tools/fish.md
+++ b/src/tools/fish.md
@@ -87,6 +87,12 @@ echo "ls output: "(ls)
echo foo >? log
```
+### Process substitution
+Redirect output of multiple processes. Same as `<(..)` in bash.
+```sh
+diff (sort a | psub) (sort b | psub)
+```
+
## Control Flow
### `if` / `else`
```sh