From 920d16436e0d5f37e9f6d31236ee87b716f3c82f Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 25 Jan 2024 07:33:01 +0000 Subject: deploy: f7fb4c7303a5776ddb421d182a92f679a8b0f868 --- tools/bash.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/bash.html') diff --git a/tools/bash.html b/tools/bash.html index c4588f5..67caa6b 100644 --- a/tools/bash.html +++ b/tools/bash.html @@ -269,6 +269,11 @@ contains some nice visualization to explain bash redirections.

  • duplicate fd 1 to fd 2, effectively redirecting stderr to stdout
  • redirect stdout to file
  • +

    Process substitution (ref)

    +

    Process substitution allows to redirect the stdout of multiple processes at +once.

    +
    vim -d <(grep foo bar) <(grep foo moose)
    +

    Argument parsing with getopts

    The getopts builtin uses following global variables: