* Osamu Aoki <[EMAIL PROTECTED]> [2001.11.24 23:52:38-0800]:
> > is this because the pipe really just spawns another shell and thus the
> > variable $b of the spawning shell is preserved? or is this a bug?
> 
> This has to do with the parent-child relationship between Unix
> processes.  It affects all commands run in pipelines, not just
> simple calls to `read'.  For example, piping a command's output
> into a `while' loop that repeatedly calls `read' will result in
> the same behavior.

so, as i said :)
thanks for the definte answer. i need to learn to look for faqs soon
but debian is such a nice forum where i *always* find answers much
quicker - so, it's all your fault! y'all's! :)

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
linux is like a wigwam.
no gates, no windoze, and an apache inside.

Attachment: pgp2JTU8ZLCSL.pgp
Description: PGP signature

Reply via email to