On Thursday, October 10, 2013 15:07:49 Dudley, David wrote:
> Sorry for butting in on this, and I'm probably not qualified to inject
> into this, but has anyone ever considered something like a 'lint'
> syntax checker program to verify that the DB is basically right?
>
> I mean, I agree that things should be 'exact match' matching, but it'd
> be nice to have some kind of filter program to tell you that you
> misspelled something, or got the wrong case, or got an incorrect
> option, or the whole thing is just so wrong it can't figure out what
> to do with it (like trying to load a file you edited in Wordpad, and
> forgot to save in text format or something - not admitting I've done
> that…).
>
> Waiting till you load the db into the IOC just seems like an
> 'all-or-nothing' approach that can lead to these kind of errors.
There used to be a program named 'dbst' that could (among other things)
be used to this effect. It doesn't look like it's being actively
maintained. The command line syntax is a bit crude if you ask me, it
would be nice if someone gave it some loving attention...
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Attachment:
signature.asc
Description: This is a digitally signed message part.
- References:
- Re: Enumerated string comparisons Johnson, Andrew N.
- Re: Enumerated string comparisons Dudley, David
- Navigate by Date:
- Prev:
Re: Enumerated string comparisons Dudley, David
- Next:
[Merge] lp:~epics-core/epics-base/ioc-shutdown into lp:epics-base Ralph Lange
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Enumerated string comparisons Dudley, David
- Next:
Re: Enumerated string comparisons Eric Norum
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|