|
| From: | João Eiras |
| Subject: | Re: [Help-bash] Bash syntax for using here-doc's or variables as files in process substitution |
| Date: | Tue, 26 Jun 2018 20:54:39 +0200 |
Maybe...
exec {fd}<<<"long string"
some-command <&$fd
some-command /dev/fd/$fd # < not entirely portable I think
exec {fd}<&-
| [Prev in Thread] | Current Thread | [Next in Thread] |