Quote:
|
Originally Posted by Deaaaaaas
skip "echo" and just do this:
#!/bin/sh
telnet localhost 5555
i think that will help
|
same effect - blank page
so it's oreginal Ecm script:
#!/bin/sh
if [ -e /tmp/ecm.info ]; then
cat /tmp/ecm.info
else
echo "No /tmp/ecm.info"
fi
i make like this:
#!/bin/sh
if [ -e /tmp/ecm.info ]; then
echo "`telnet localhost 5555`" >> /tmp/ecm.info
cat /tmp/ecm.info
else
echo "No /tmp/ecm.info"
fi
and then i exec Ecm script, i can see only Ecm message, no one line from my telnet info
Any ideas?