|
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?
#!/bin/bash
end=End of File
while read chat
read "$end" ???
do
chat >> chat.log
done
Thanks for the help!
|