Use stdin instead of cat.