EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] database "diff"
From: Paul Sichta via Tech-talk <tech-talk at aps.anl.gov>
To: "Sinclair, John" <sinclairjw at ornl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 20 Mar 2020 16:08:06 -0400
Many thanks, all.

Stay safe!
-ps


On Fri, Mar 20, 2020 at 4:03 PM Sinclair, John <sinclairjw at ornl.gov> wrote:

 

Hi Paul,

 

I have attached a simple perl file which sorts db records. To compare two db files, sort one and redirect output file file1 then sort the other and redirect to file2. Then compare file1 to file2. The perl script also reports (via STDERR) duplicate records, carriage returns and unprintable characters that it finds.

 

Extension is .txt to satisfy outlook.

 

John

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Paul Sichta via Tech-talk
Sent: Friday, March 20, 2020 2:44 PM
To: tech-talk at aps.anl.gov
Subject: [EXTERNAL] database "diff"

 

We're converting our (~200) databases from gdct to vdct.  After we drag around the records in vdct to visually arrange the linked records, we want to perform a final check to compare the original and the vdct records. We plan to write a text processing program/script to do this,  but...

 

Has anyone made a tool to compare the records and their fields in two database files?  Is there a utility (in the IOC) to dump a database report that we can compare (before/after)?  Does the old dbreport extension provide reports that list a record's field information that we can compare?

 

 

We're doing this because gdct doesn't run on Linux (right?).

 

Thanks,

-ps

 


Replies:
Re: [EXTERNAL] database "diff" Pedro Gigoux via Tech-talk
References:
database "diff" Paul Sichta via Tech-talk

Navigate by Date:
Prev: Re: database "diff" Rolf Keitel via Tech-talk
Next: Re: [EXTERNAL] database "diff" Pedro Gigoux via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: database "diff" Rolf Keitel via Tech-talk
Next: Re: [EXTERNAL] database "diff" Pedro Gigoux via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 20 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·