News for hackers. Stuff that matters.
Re:I wrote the least-C C program I could by nine_k on Monday February 21, 2022 @03:22AM (#30413192)
Would you consider doing string processing in C rather than in Awk or Tcl?
Re:I wrote the least-C C program I could by raverbashing on Monday February 21, 2022 @03:58AM (#30413440)
It is funny question because I think most languages get string processing right. Pascal gets it right.

Except C.

Re:I wrote the least-C C program I could by Koshkin on Monday February 21, 2022 @10:15AM (#30416724)
But BSTR, too, is a C construct.
Re:I wrote the least-C C program I could by jfk13 on Monday February 21, 2022 @03:40AM (#30413313)
In FORTRAN, thank you.

(It was a long time ago, and there was no C compiler on our IBM/370...)

Re:I wrote the least-C C program I could by anthk on Monday February 21, 2022 @07:34AM (#30415169)
TCL is basically THE string processing language... because everything is a string :p.

For short scripts, awk is nice, but most people would use Python nowadays, and die hard Unix greybeards will use Perl or TCL depending on the mood.

Re:I wrote the least-C C program I could by pjmlp on Monday February 21, 2022 @08:58AM (#30415908)
Version 8.4 changed it a bit.