News for hackers. Stuff that matters.
Re:Cool but obscure X11 tools by tempguy9999 on Friday August 16, 2019 @12:56PM (#20717066)
As I'm new to this could you give a reference to those very gnu guidelines so I could see for myself?

And also where those guidelines say that silent truncation of long lines should occur?

thanks

Re:Cool but obscure X11 tools by liability on Friday August 16, 2019 @01:08PM (#20717176)
Sure, no problem:

>"Avoid arbitrary limits on the length or number of any data structure, including file names, lines, files, and symbols, by allocating all data structures dynamically. In most Unix utilities, “long lines are silently truncated”. This is not acceptable in a GNU utility."

https://www.gnu.org/prep/standards/standards.html#Semantics

So perhaps DOTADIW is a GNU philosophy, because it's one of the reasons GNU became so popular. Proprietary unix tools often did one thing and did it poorly, making GNU tools a breath of fresh air.

Re:Cool but obscure X11 tools by teddyh on Friday August 16, 2019 @01:09PM (#20717186)
https://www.gnu.org/prep/standards/standards.html#Semantics

I think you misinterpreted parent’s statement, though, and/or they mistyped. The GNU Coding Standards says to not use static buffers, nor should GNU programs silently truncate long lines.