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 my_script pick up the data being 
piped and make that data its value.
If anyone knows how to do this, or if I have not explained myself right 
please contact me. Thank You very much.
Tony


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to