Re: piping to a script

2002-08-26 Thread Rohit Grover
Antonio Inojal wrote: > > Hello, I am trying to pipe content from a C program into a shell script. > What I want to do is to pass the information coming from the C app, into > an environmental variable in the shell script: > > my_app | my_script . > > Say that my app spits out the date, ok? > I

piping to a script

2002-08-26 Thread Antonio Inojal
Hello, I am trying to pipe content from a C program into a shell script. What I want to do is to pass the information coming from the C app, into an environmental variable in the shell script: my_app | my_script . Say that my app spits out the date, ok? I want that an env variable declared in