On Jun 6, 2008, at 2:03 PM, Derek Belrose wrote:
Hey,
I'm trying to wrap my head around everything. Here's what I have so
far.
A client gives me a list of 30 domains that he wants websites setup,
dns and mail.
I decided it would be a great chance for me to learn filters and
scripts. I very quickly created the filters that output the zones,
httpd.conf syntax and the commands to create the root directories.
What I'm wondering is this: is there a way to create a worksheet
from unix filters and if not am I going to have to tie all of this
together using apple script?
Here's the flow I am looking for:
Paste list of domains
run a script
the script will:
create the apache config syntax (one filter)
create the dns zone syntax (another filter)
create the shell script syntax to create the root directories for
the sites (third filter)
somehow create a worksheet
pipe the syntax along with shell commands over ssh (ssh keys are
working, no passwords needed)
Is this a pipe dream or can I actually achieve this in BBEdit?
For my own BBEdit knowledge that's a pipedream, but I know I don't use
BBEdit anywhere near it's capacity. I was just chatting with a buddy
yesterday and commented that I've been using BBEdit since it came with
MachTen around 1995, but I've never gotten into all of its Worksheet
and Scripting capabilities.
I'd give the client a password-protected web-form to fill in that
would then generate the info you need. You could also set up an email
address for the client that would process emails automatically and
generate the info. Or even an [s]ftp address they can send files to
that will run a periodic program to check for new files and process
them. Those are all certainly more work to setup, but considerably
less work in the long run. I pretty much do all of the above for a
living, so I'm a bit biased :-)
Mike Schienle
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>