Content deleted Content added
Jerryobject (talk | contribs) WP:REFerences: plain text + inline WP:EXTernal links > WP:CITations; parameters: adds, fills, update-standardizes, respaces. WP:LINKs: adds, update-standardize, needless-WP:PIPE > WP:NOPIPE. Small WP:COPYEDITs WP:EoS: WP:TERSE, clarify, 1st MOS:PERSON we cut+fix, MOS:NOTETHAT cut. WP:BADEMPHASIS MOS:QUOTEMARKS > Template:Codes. Cut needless carriage returns in sentences. Adds: WP:CATEGORYs, MOS:COMMENT. |
→Unix pipeline: fix syntaxhighlight error |
||
Line 124:
In Unix scripting the functions are computer programs which receive data from [[Standard streams|standard input]] and send the results to [[Standard streams|standard output]]. For example,
sort | uniq -c | sort -rn
is a tacit or point-free composition which returns the counts of its arguments and the arguments, in the order of decreasing counts. The {{
Due to the way pipelines work, it is normally possible only to pass one ''argument'' at a time in the form of a pair of standard [[input/output]] stream. Although extra [[file descriptor]]s can be opened from [[named pipe]]s, this no longer constitutes a point-free style.
|