cat readme.txt | wc echo abc|wc cat readme.txt | head cat readme.txt | nosuch pipetest echo x || wc echo recovered exit