<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">YAML is whitespace sensitive? Seems unwise<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 26, 2018 at 7:42 PM Steve Litt via Ale <<a href="mailto:ale@ale.org">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 26 Apr 2018 14:35:20 -0700<br>
Alex Carver via Ale <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>> wrote:<br>
<br>
> On 2018-04-26 08:52, Steve Litt via Ale wrote:<br>
> <br>
> > <br>
> > I'd *love* to configure my network with YAML. <br>
> <br>
> Why???<br>
> <br>
> YAML is too sensitive to white space just like many other MLs. Last<br>
> week I spent forever trying to get a couple programs to run that both<br>
> happen to use YAML for their configuration files. It always choked<br>
> while parsing the YAML no matter what I did. Even dumping the<br>
> internal state to a YAML formatted file (there was a command line<br>
> option provided to do this) would put out a file that could not be<br>
> read back in. I gave up and configured the program entirely from the<br>
> command line, having to bypass config files entirely.<br>
<br>
Sounds like a bad program that used YAML poorly.<br>
<br>
Also, you're right in that YAML spacing can be confusing, especially if<br>
indentation is shallow or inconsistent, and of course if tabs get<br>
introduced accidentally.<br>
<br>
But for a good program used by a YAML aware user, YAML is a great way<br>
to specify what otherwise would be very complex config.<br>
<br>
SteveT<br>
<br>
Steve Litt <br>
April 2018 featured book: Troubleshooting Techniques<br>
of the Successful Technologist<br>
<a href="http://www.troubleshooters.com/techniques" rel="noreferrer" target="_blank">http://www.troubleshooters.com/techniques</a><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>