Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-26 Thread Dag-Erling Smørgrav
Ivan Voras writes: > Dag-Erling Smørgrav writes: > > Bourne shell is a perfectly fine programming language if you know > > how to use it. > I'll agree that it's fine but only in the abstract - e.g. that it is > Turing complete :) Emphasis on "if you know how to use it". It's like Perl - it's ea

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-26 Thread Robert Watson
On Fri, 26 Mar 2010, per...@pluto.rain.com wrote: Robert Watson wrote: ... web browsers [are] basically operating systems at this point ... Isn't this a bit of an exaggeration? Not too many browsers have to deal with process/thread scheduling, or device drivers, or booting, or file system

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-26 Thread perryh
Robert Watson wrote: > ... web browsers [are] basically operating systems at this point ... Isn't this a bit of an exaggeration? Not too many browsers have to deal with process/thread scheduling, or device drivers, or booting, or file system issues -- they rely on the OS for that (as does any ot

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-25 Thread Ivan Voras
On 03/25/10 09:51, Robert Watson wrote: On Wed, 24 Mar 2010, Ivan Voras wrote: Wouldn't it be nice to have a "blessed" (i.e. present-in-base) script language interpreter with a syntax that has evolved since the 1970-ies? (with a side-glance to C that *has* evolved since the K&R style). ... A

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-25 Thread Robert Watson
On Wed, 24 Mar 2010, Ivan Voras wrote: Wouldn't it be nice to have a "blessed" (i.e. present-in-base) script language interpreter with a syntax that has evolved since the 1970-ies? (with a side-glance to C that *has* evolved since the K&R style). ... As a possible alternative, or at least to

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Ivan Voras
2010/3/24 Dag-Erling Smørgrav : > Ivan Voras writes: >> C is good enough. I'm after /bin/sh here. > > Bourne shell is a perfectly fine programming language if you know how to > use it. I'll agree that it's fine but only in the abstract - e.g. that it is Turing complete :) (But then again, I've h

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Ivan Voras
On 24 March 2010 20:03, Peter Jeremy wrote: > On 2010-Mar-24 14:11:21 +0100, Ivan Voras wrote: > There's awk (though it's somewhat restricted in its abilities to do > anything more than text manipulation) but in principle, I agree.  The > requirements as I see them are (in no particular order):

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Garrett Cooper
On Wed, Mar 24, 2010 at 6:11 AM, Ivan Voras wrote: > On 03/23/10 16:08, John Baldwin wrote: > > [snip - looks like a good utility, will probably use it instead of > mergemaster if it gets committed, like the idea about automated updates] > >> To that end, I wrote a new tool that I think does a dec

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Dag-Erling Smørgrav
Ivan Voras writes: > C is good enough. I'm after /bin/sh here. Bourne shell is a perfectly fine programming language if you know how to use it. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread John Baldwin
On Wednesday 24 March 2010 10:49:12 am Ivan Voras wrote: > On 03/24/10 15:02, John Baldwin wrote: > > On Wednesday 24 March 2010 9:11:21 am Ivan Voras wrote: > >> On 03/23/10 16:08, John Baldwin wrote: > >> > >> [snip - looks like a good utility, will probably use it instead of > >> mergemaster if

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Peter Jeremy
On 2010-Mar-24 14:11:21 +0100, Ivan Voras wrote: >Since the issue comes around very rarely, I assume there are not many >people who also get the shivers when they see a shell script (and then a >"posixy" /bin/sh shell script) more than a 100 lines long? :) With the specific exception of GNU con

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Ivan Voras
On 03/24/10 15:02, John Baldwin wrote: On Wednesday 24 March 2010 9:11:21 am Ivan Voras wrote: On 03/23/10 16:08, John Baldwin wrote: [snip - looks like a good utility, will probably use it instead of mergemaster if it gets committed, like the idea about automated updates] To that end, I wrot

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread John Baldwin
On Wednesday 24 March 2010 9:11:21 am Ivan Voras wrote: > On 03/23/10 16:08, John Baldwin wrote: > > [snip - looks like a good utility, will probably use it instead of > mergemaster if it gets committed, like the idea about automated updates] > > > To that end, I wrote a new tool that I think do

Re: Another tool for updating /etc -- lua||other script language bikeshed

2010-03-24 Thread Ivan Voras
On 03/23/10 16:08, John Baldwin wrote: [snip - looks like a good utility, will probably use it instead of mergemaster if it gets committed, like the idea about automated updates] To that end, I wrote a new tool that I think does a decent job of solving these goals. Since the issue comes aro