Still discovering new shell tricks. TIL: Substitutions. `cmd <(cat file)` invokes `cmd` with the first parameter being a named pipe (e.g. `/dev/fd/22`) which contains the contents of `file`. Example use-case: You wanna diff two files, but they are binary so need disassembling
0 reposts10 likes