Re: White-space sensitive file formats

[prev] [thread] [next] [lurker] [Date index for 2004/10/27]

From: Tony Bowden
Subject: Re: White-space sensitive file formats
Date: 10:09 on 27 Oct 2004
On Tue, Oct 26, 2004 at 05:30:59PM -0400, Michael G Schwern wrote:
> Speaking of crappy, archaic data formats, have a look at an Aegis change 
> file that you're supposed to type in by hand.

>   cause = internal_enhancement;

And, if you spell that as:
    cause = internal_enhancemnet;

You get an error:

aegis: /home/tony/aegis-12159-1: 7: no "internal_enhancemnet", guessing
        "internal_enhancement"

Which would be great if it actually corrected it for you and created the
change anyway. But oh no. It just laughs at you, tells you how stupid
you were to make such a silly mistake, and refuses to do anything until
you create it again - correctly this time.

There are only something like 7 valid strings here.  They're all
sufficiently different to be able to guess with 99% accuracy any simple
mistake.  But when I brought up on the mailing list that perhaps they
should just do what I obviously wanted, especially as they've taken
the trouble to work out what I obviously wanted, I was told that that
would be a Very Bad Thing as it might get the wrong thing. Because if
I type "internal_enhancemnet" I _obviously_ might really have meant
"external_bug".

Tony
There's stuff above here

Generated at 15:02 on 01 Nov 2004 by mariachi 0.52