Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But when you're interactively creating your pipeline, having the cat at the very beginning can save you some shuffling around. For example, while your second command is be grep and you're passing your file directly to grep, you might then realize you need another command before grep. So you'll have to move that argument to the other command. With a useless cat in front, you just insert the new command between cat and grep. It doesn't really cause harm.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: