Hacker News new | ask | show | jobs
by ndsipa_pomu 11 days ago
And yet you've visited these comments and cared enough to type out one yourself.

I do agree that the performance cost of using "cat" is negligible, but sometimes it's instructive to learn techniques that improve efficiency. Personally, I write a lot of bash scripts and I tend to avoid using external programs when I can use built-ins e.g. "printf" instead of "echo", though avoiding "echo" is recommended anyway due to its lack of POSIX compliance.