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?
[ Parent
| on HN ]
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.
In FORTRAN, thank you.
(It was a long time ago, and there was no C compiler on our IBM/370...)
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.