-   Programming (
-   -   bash shell scripting help! (

computergeek7 04-27-2010 10:21 AM

bash shell scripting help!
I created a name pipe (file) in the my /group directory called chat.
I then have to write a script to read from the named pipe and save data into a file called chat.log until the words End of File are passed to the program.

What does the line you enter in the script using "End of File" suppose to look like?


end=End of File

while read chat
read "$end" ???
chat >> chat.log

Thanks for the help!

grail 04-27-2010 10:32 AM

Putting the word "bash" at the fron of the exact same question when people are already trying to help you is really poor form :(

crabboy 04-27-2010 10:35 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

All times are GMT -5. The time now is 01:03 AM.