Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-10-14 13:06:01
Size: 590
Editor: linuxerw
Comment:
Revision 3 as of 2009-07-15 14:32:37
Size: 624
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Dump CUS procedure changes =

Dump CUS procedure changes

Goal

Create ASCII files each containing a single CUS procedure definitions which have changed since initial database loading.

Procedure

Create an empty directory and execute following command. Make sure CUS properties are set right.

cus -listdefs | & gawk 'BEGIN {c="cus -viewdef "; f=" >& "} ; $3 != 1 && $2 == "version" {print c $1 " " $3 f $1 ".txt." $3; print c $1 "1" f $1 ".txt.1"}' | xargs -t -i bash -c "{}"

Result

The directory will contain files named according the CUS procedure name, appended by ".txt." appended by the version number.

Herschel: PACS/EQM_IMT_Procedures/dumpCusProcedureChanges (last edited 2009-07-15 14:32:37 by localhost)