EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: New/improved iocsh debug utility functions (dbla)
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Fri, 2 Mar 2018 10:25:21 +0100
(One block of output was missing in previous mail)

On 02.03.2018 01:19, Andrew Johnson wrote:
If an IOC has a lot of aliases the output from dbla doesn't help you
find all the pseudonyms of a specific record unless you do some
post-processing of its output. I can see the need for the reverse
search, but I think I'd like to see that provided as a new command since
it's conceptually slightly different. I looked up 'alias' in a thesaurus
and the term nicknames seems the most promising — how about dblnn:

epics> help dbla
dbla pattern
epics> dbla
ao -> anj:ao
ao1 -> anj:ao
ai -> anj:ai
ai1 -> anj:ai
epics> help dblnn
dblnn pattern
epics> dblnn anj:a*
anj:ao <- ao ao1
anj:ai <- ai ai1

How different is that to your current arguments and output format? Can
you show us an example?

The change in the code is quite small: instead of testing only the alias name against the pattern test the record name was well.

Original dbla and my version show the same output without argument
epics> dbla
ai -> anj:ai
ai1 -> anj:ai
ao -> anj:ao
ao1 -> anj:ao

Original dbla and my version show the same output with alias pattern
epics> dbla *1
ai1 -> anj:ai
ao1 -> anj:ao

My version shows more output with record pattern
epics> dbla anj:a*
ai -> anj:ai
ai1 -> anj:ai
ao -> anj:ao
ao1 -> anj:ao

epics> dbla anj:ai
ai -> anj:ai
ai1 -> anj:ai

References:
New/improved iocsh debug utility functions Dirk Zimoch
Re: New/improved iocsh debug utility functions Andrew Johnson

Navigate by Date:
Prev: Re: New/improved iocsh debug utility functions (dbla) Dirk Zimoch
Next: Re: New/improved iocsh debug utility functions (dbll) Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: New/improved iocsh debug utility functions (dbla) Dirk Zimoch
Next: Re: New/improved iocsh debug utility functions (dbll) Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 02 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·