One-liner Program
A one-liner is textual input to the command-line of an operating system shell that performs some function in just one line of input.
The one liner can be
- An expression written in the language of the shell.
- The invocation of an interpreter together with program source for the interpreter to run.
- The invocation of a compiler together with source to compile and instructions for executing the compiled program.
Certain dynamic scripting languages such as AWK, sed, and Perl have traditionally been adept at expressing one-liners. Specialist shell interpreters such as these Unix shells or the Windows PowerShell, allow for the construction of powerful one-liners.
The use of the phrase one-liner has been widened to also include program-source for any language that does something useful in one line.
Famous quotes containing the word program:
“Hast ever ben in Omaha
Where rolls the dark Missouri down,
Where four strong horses scarce can draw
An empty wagon through the town?
Where sand is blown from every mound
To fill your eyes and ears and throat;
Where all the steamboats are aground,
And all the houses are afloat?...
If not, take heed to what I say,
Youll find it just as I have found it;
And if it lies upon your way
For Gods sake, reader, go around it!”
—For the State of Nebraska, U.S. public relief program (1935-1943)