On Tue, 26 Jul 2011, Mark Moellering 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?
Thanks in advance
Mark Moellering
I second Matthew's sh recommendation. Doing admin stuff is much much easier if
you learn the basics of regular expressions, awk, sed and xargs. Also find. The
daily jobs and the scripts in /etc have lots of coding examples. Of course
mergermaster and portmaster are the king and queen of sh scripts. Google will
yield thousands of simple examples of all the above and more.
If you are doing lexical stuff perl is hard to beat.
_______________________________________________
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"