Good blog post by Ian Miell that I stumbled upon.
https://zwischenzugs.com/2018/01/06/ten-...bout-bash/
Here's one of his tips:
https://zwischenzugs.com/2018/01/06/ten-...bout-bash/
Here's one of his tips:
Quote:Have you ever done something like this?
[pre]$ grep somestring file1 > /tmp/a
$ grep somestring file2 > /tmp/b
$ diff /tmp/a /tmp/b[/pre] That works, but instead you can write:
[pre]diff <(grep somestring file1) <(grep somestring file2)[/pre] Isn’t that neater?