:: Re: [DNG] Init compatibility
Góra strony
Delete this message
Reply to this message
Autor: Edward Bartolo
Data:  
Dla: Steve Litt
CC: dng
Temat: Re: [DNG] Init compatibility
Hi,

I would like to suggest as a text template format for the automatic
generation of init scripts to use a format similar to the one used in
package control files. This uses sections that can easily be parsed
without using complex parsers.

I would go like this:

Requires:
Requires_Running:
Start_Parameters:
Stop_Parameters:

Edward

On 05/06/2016, Steve Litt <slitt@???> wrote:
> On Sun, 5 Jun 2016 16:41:22 +0200
> Jaromil <jaromil@???> wrote:
>
>
>> OK but can we avoid polarization and use "markup (language
>> definition)" instead of XML here? I share and understand well
>> everyone's concerns about XML here and think it won't help mutual
>> understanding of what you point out if we keep the unfortunate example
>> Florian did. True that his suggestion is interesting.
>>
>> FTR I think YAML is a very interesting tree structured markup language
>> very easy to read for humans and parse for machines.
>
> YAML is good. Python has an excellent YAML parser. YAML would be an
> excellent choice for Florian's idea.
>
> YAML has no end tags, which means it gets cumbersome when data becomes
> longer than an easily viewed line. So it's possible that instead of
> *containing* scripts, the YAML would *point to* scripts.
>
>
> SteveT
>
> Steve Litt
> June 2016 featured book: Troubleshooting: Why Bother?
> http://www.troubleshooters.com/twb
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>