So i have a ash script that send command to device via telnet
The command look like this.
echo 'dofile("lcdprint.lua").lcdprint("date")' | telnet 192.168.1.23 23
I want the output date like this
Tue Jul 12 17:10:51 WIB 2016
But instead of above output, the code run unexpected with this result
date
How do i send the correct command? The output should contain date value, not 'date' string.
Thankyou :)