by shuffel · 4y ago · 0 comments
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.