News for hackers. Stuff that matters.
Re:GNU Units by philjackson on Wednesday January 06, 2021 @09:43AM (#25658145)
Useless use of echo there.
Re:GNU Units by x0 on Wednesday January 06, 2021 @05:56PM (#25663860)
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.
Re:GNU Units by ttul on Wednesday January 06, 2021 @10:01AM (#25658312)
Not unless you’re also trying to demonstrate the magic of fork.
Re:GNU Units by techbio on Wednesday January 06, 2021 @12:28PM (#25659934)
Extraneously strenuous use of "useless" when using "redundant" would have done...unless useless has another usage.

EDIT: The commenter echoed, duckly.

Re:GNU Units by watersb on Wednesday January 06, 2021 @11:38PM (#25667332)
I use a construct like this to ensure that the value ends with a newline.
Re:GNU Units by smorrow on Thursday January 07, 2021 @03:37PM (#25677108)
$() chomps the newline though...
Re:GNU Units by lozf on Wednesday January 06, 2021 @10:12AM (#25658400)
noted, thanks