Hey, Being accustomed to tying together multiple bash programs with the pipe operator, sometimes I’ve seen myself not being able to easily do so when a command expected the input to come from a file instead of stdin. Given that `dirname` doesn't expect input from `stdin`, piping to it doesn't work as expected Using process substitution we can make sure that pretty much every command can perform the equivalent of taking contents from standard input. tl;dr: dirname <(echo "/var/lib/my/file.tx...