Size: 624
Comment:
|
← Revision 3 as of 2009-07-15 14:32:37 ⇥
Size: 624
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.