On 07-Jul-10 18:20:03, Richard Parsons wrote:
I'm trying out edbrowse. I've been looking for an easy to script browser with full javascript support for a long time, and it looks like it may be the ticket.
I want to script it like this, but I don't know how to echo a new line:
echo "e http://yahoo.com\n1,$n" | edbrowse
How do I properly echo a new line? I'm sure that the answer will no doubt make me slap my own head...
Thanks, Richard
It may well ... :) $ echo "e http://yahoo.com\n1,$n" e http://yahoo.com\n1, $ echo -e "e http://yahoo.com\n1,$n" e http://yahoo.com 1, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@manchester.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 07-Jul-10 Time: 19:59:09 ------------------------------ XFMail ------------------------------