Optimizing...

You *could* use it twice when you don't pipe, but a) I ain't sure if you even could use it twice *if* you pipe, and b) I don't have any ideas how to see if stdin was a pipe