|
|
|
|
|
by shuffel
1630 days ago
|
|
For whatever reason I can never remember the syntax of <(command) and end up "rediscovering" it every year. It's seldom used but when it's needed it's rather elegant. Another somewhat related useful bash feature is using this form: wc <<< 'a b c'
instead of: echo 'a b c' | wc
|
|
¹ With Bash v5 it may use a pipe if the data is small enough, but you can't guarantee people will have that because of GPLv3 phobia. I believe it is always a tempfile with zsh.