:
stable, script /bin/sh, bash. <() POSIX, bash /bin/sh ( ).
shebang #!/bin/bash.
< <():
, - <() , , ; Linux /dev/fd/##. < <(command), stdin... .
, , :
read foo < <(echo "bar")
echo "$foo"
:
echo "bar" | read foo
echo "$foo"
, , . , , , .
bash -s stable:
bash -s , script stdin. script [email protected] ($1, $2 ..), stable $1, script, stdin.