Differences between revisions 2 and 3
Revision 2 as of 2005-10-14 13:08:06
Size: 624
Editor: linuxerw
Comment:
Revision 3 as of 2009-07-15 14:32:37
Size: 624
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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)