Perl, shell, etc programs like that as one-liners ALL THE FUCKING TIME.
With compound statements of various sorts, that is fair; in the case of perl scripts, they are called one line. When you simply
On reconsideration... I suppose it is still meaningful so long as the line is reasonably short. You win.
We immediately observe several things about the above sample program.
First, all lines in the program start with a line number. These serve to identify the lines in the program, each one of which is called a statement;
Clearly, in BASIC terminology, line and statement are synonymous. Originally, the semicolon statement terminator did not even exist.
Later adaptations of BASIC allow you to put multiple statements in a single physical line, but the numbers are line numbers and not statement numbers. In BASIC terminology this would be a multi-line program.
Furthermore, if the above technical reasoning were not true, it would still be pedantic and borderline-incorrect to refer to this as a one liner, just would refer to a multi-statement C program or Perl program as such.
used exclusively for language
We eliminated several hypotheses that oppose ours, now we will see how far vulgarizations will go to claim that we proved our own hypothesis!
IOT trap -- core dumped