POV-Ray : Newsgroups : povray.off-topic : Something new every day : Re: Something new every day Server Time
6 Sep 2024 19:22:59 EDT (-0400)
  Re: Something new every day  
From: Warp
Date: 7 Nov 2008 16:25:10
Message: <4914b236@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Eero Ahonen wrote:
> > Welcome to world of PC's. IIRC piping worked even on MS-DOS (eg. type
> > autoexec.bat|more).

> Under DOS, since only one thing ran at a time, this didn't actually 
> "pipe" the data. It was just a shortcut for
>    type autoexec.bat >tempfile
>    more <tempfile

  Yes. The difference is whether a program can programmatically create
pipes or not. For example in unix systems (and probably in Windows as
well) a program can create a named pipe, after which it can write data
to it, and then another program can read the data from it. It works like
a data queue between programs. In fact, more than one program can write
to the pipe (although if two programs do so at the same time, it's not
guaranteed in which order the data will come out).

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.