[newbie] echo a pipe ?

From: Shagshag (shagshag13_at_yahoo.fr)
Date: 08/31/03


Date: 31 Aug 2003 10:01:08 -0700

hello,

is it possible to output to stdin a pipe content and to use it as a classic pipe ?

that is, instead of

   echo 'my input string' | ./program

and get -> program output

i would like to have as output :

   'my input string'
   + program output

thanks.



Relevant Pages

  • Re: [newbie] echo a pipe ?
    ... >is it possible to output to stdin a pipe content and to use it as a classic pipe? ... What you've done with your echo command above is to proved "my input string" ... as input to the program on its stdin. ... The Linux Emporium - the source for Linux in the UK ...
    (comp.os.linux.misc)
  • Re: [newbie] echo a pipe ?
    ... > is it possible to output to stdin a pipe content and to use it as a classic pipe? ... Sure if yoru ./program reads form stdin and writes it out before ...
    (comp.os.linux.misc)
  • Re: [newbie] echo a pipe ?
    ... Shagshag wrote: ... > is it possible to output to stdin a pipe content and to use it as a classic pipe? ... Your pretended fear lest error might step in is like the man who ...
    (comp.os.linux.misc)
  • Re: [newbie] echo a pipe ?
    ... Shagshag wrote: ... > is it possible to output to stdin a pipe content and to use it as a classic pipe? ... You might try the 'tee' command: ...
    (comp.os.linux.misc)