User Tools

Site Tools


features:pipes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
features:pipes [2015/12/29 20:20] adminfeatures:pipes [2015/12/29 20:28] admin
Line 18: Line 18:
  
 To make a pipeline, command operators could be stacked up. Thus, to sort //input,// paginate it neatly, and print the result off-line, one would write To make a pipeline, command operators could be stacked up. Thus, to sort //input,// paginate it neatly, and print the result off-line, one would write
- +<code> 
-<code>input sort paginate offprint+input sort paginate offprint
 </code> </code>
  
 In today's system, this would correspond to In today's system, this would correspond to
  
-<code>sort input | pr | opr+<code> 
 +sort input | pr | opr
 </code> </code>
  
Line 63: Line 64:
  
 According to the [[:anecdotes:pipes|anecdotes]], Ken Thompson added pipes to Unix in one day. According to the [[:anecdotes:pipes|anecdotes]], Ken Thompson added pipes to Unix in one day.
 +
 +The Second Edition of Unix, dated June 1972, didn't have pipes. By January 15, 1973, Unix did have pipes: Doug McIlroy put out the notice for a [[http://www.tuhs.org/Archive/Documentation/Papers/Unix_Users_Talk_Notes_Jan73.pdf|talk which described the state of UNIX]] at that time. Page 4 describes SYS PIPE and its implementation. This is as narrow as we can get on the date when Ken added pipes to the system.
  
features/pipes.txt · Last modified: 2022/09/16 18:47 by 123.219.209.121