Add stdin (-) support to some programs