Hacker News new | ask | show | jobs
by philjackson 1994 days ago
Useless use of echo there.
5 comments

It's very important to watch out for useless uses of echo/cat. What is cat, a few megabytes now? Fine for those of us on modern hardware, but you never know what PDP-11 user is going to copy paste your comment into their terminal.
Not unless you’re also trying to demonstrate the magic of fork.
Extraneously strenuous use of "useless" when using "redundant" would have done...unless useless has another usage.

EDIT: The commenter echoed, duckly.

I use a construct like this to ensure that the value ends with a newline.
$() chomps the newline though...
noted, thanks