On Fri, 5 Feb 2016 03:11:34 -0600, Bill Woodger wrote:
>
>> ...  A DOS partisan once explained his
>> misunderstanding of pipes to me that way:
>> 
>>     CAT reads /etc/passwd and writes to temporary file TEMP1.
>>     When CAT terminates, GREP reads TEMP1 and writes TEMP2
>>     When GREP terminates, AWK reads TEMP2 and writes to stdout.
>
>MS-DOS/PC-DOS didn't have true pipes, and the "piping" provided was exactly as 
>your DOS partisan described (writing to a temporary dataset, first process 
>completes before second starts, reading the temporary file, etc). Command 
>using piping "looked like" it may look in a Unix, but didn't operate the Unix 
>way.
> 
My DOS colleague's "misunderstanding" was that he expected UNIX pipes
to be implemented in a similar way.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to