summaryrefslogtreecommitdiff
path: root/docs/subshell.md
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2024-12-22 04:08:55 +0100
committerEinhard Leichtfuß <alguien@respiranto.de>2024-12-22 04:12:58 +0100
commit320691f312287575140bde777a11035166fc53a0 (patch)
treef7c3f551e3c657eabcfaae17643280d5b78a5f24 /docs/subshell.md
Initial commit
The basic.bash script is based on the one used in `github.com:lawandorga/laworga-mail-server.git`, and other versions used by me (which the `lawandorga-mail-server.git` one was based upon). The notes are generally new, but many of them just a consolidation and refinement of existing knowledge (of mine).
Diffstat (limited to 'docs/subshell.md')
-rw-r--r--docs/subshell.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/subshell.md b/docs/subshell.md
new file mode 100644
index 0000000..319e629
--- /dev/null
+++ b/docs/subshell.md
@@ -0,0 +1,8 @@
+# Subshell
+
+* A subshell may be created by any of the following:
+ * `(.)`
+ * command substitution: `$(.)`, `` `.` ``
+ * process substitution: `<(.)`, `>(.)`
+ * `bash(1)` does not talk of a subshell here, but this seems to work
+ similarly to `$(.)`.