On Tue, Jul 26, 2011 at 9:57 PM, Mark Moellering <m...@msen.com> wrote:
> I want to automate some tasks, creating directories, file editing, etc.  I
> was going to pick up a book on shell scripting but wanted to ask the list
> if;
> A) I am barking up the wrong tree and should use something else.
> B) If I am headed in the right direction, what is the best book / resource
> to use?

Most automation can be done with shell scripting, but there are
situations where shell won't cut it. Then, you may want to give
Expect a try (hint: combine it with netcat a.k.a. nc and other tools).
If you don't like its TCL syntax, there's a port to Python in
misc/py-pexpect:

http://pexpect.sourceforge.net/

Good luck.

> Thanks in advance
>
> Mark Moellering

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to