WebSep 11, 2024 · To get it to work in dash you need to resort to older solutions (here-doc): $ read X Y <<_EOT_ > AAA BBB > _EOT_ $ echo "<$X>" As a command to try shells (sadly the newlines can not be removed (no one-liner)): $ bash -c 'read X Y <<_EOT_ AAA BBB _EOT_ echo "<$X>" ' That works exactly the same in dash, zsh, ksh, and … WebDec 2, 2024 · dash is the Debian Almquist shell: a small, fast, and POSIX compliant shell. It is well-suited for startup scripts, and is used on Debian (and derivative distributions) as /bin/sh . As some shell scripts may have "bashisms" in them, dash is not guaranteed to work as a /bin/sh replacement on Gentoo, out-of-the-box.
shell - Where is the `--` (double dash) argument documented?
WebMar 2, 2024 · There are some utilities that accept a --(double dash) as the signal for "end … WebProcess substitution just amounts to an argument that points to a /dev/fd/ [num] link to an anonymous pipe. dash does here-documents with anonymous pipes rather than genning temp files as most other shells do. So cat /dev/fd/3 3< dark blue and white wedding dresses
DASH File - What is it and how do I open it?
WebMar 2, 2024 · There are some utilities that accept a -- (double dash) as the signal for "end of options", required when a file name starts with a dash: $ echo "Hello World!" >-file $ cat -- -file Hello World! $ cat -file # cat - -file fails in the same way. cat: invalid option -- 'f' Try 'cat --help' for more information. WebThe /bin/sh (dash) shell is a POSIX compliant, reduced functionality shell to be more … WebJan 13, 2024 · file $ (which dash): /usr/bin/dash: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID [sha1]=812a16ad1517b3d714e7b3bdb5470b2c82eb25ff, for GNU/Linux 3.2.0, stripped Share Improve this answer Follow answered Jul 24, 2024 at 15:57 user894319twitter 27 12 dark blue and yellow flowers