ParentFull threadjamespwilliams·sponge from moreutils is useful for this, eg cat a b | sponge aView on HN