also sprach Eric G. Miller <egm2@jps.net> [2001.12.29.2350 +0100]:
> C always uses pass by value, C++ can do both.  But, what does that
> have to do with shell scripts and pipes?

C can pass by reference, no?

think about it: i pass by value when i pipe into a program, and i pass
by reference when i tell that same program which file to read. standard
unix filter procedure.

when passed as a pipe, the original data can't be modified.
when passed as a file name, the data can be modified *and* there is
nothing copied (ignoring what the program does)...

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
stay the patient course.
of little worth is your ire.
the network is down.

Attachment: pgpkSE8jMN5kM.pgp
Description: PGP signature

Reply via email to