diff --git a/README.md b/README.md index 5c1e0d4..75beaad 100644 --- a/README.md +++ b/README.md @@ -2631,6 +2631,17 @@ A short way of using if/else. An example: [[ $a = 1 ]] && b="yes, equal" || b="nope" +
+What does the following code do and when would you use it? + +diff <(ls /tmp) <(ls /var/tmp) + +
+It is called 'process substitution'. It provides a way to pass the output of a command to another command when using a pipe | is not possible. It can be used when a command does not support STDIN or you need the output of multiple commands. +https://superuser.com/a/1060002/167769 +
+ + ## SQL