<^o::^p ;striving after better User and Programmer Xperience
#!/bin/sh dml_cnt=`perl -p -e 's/\s{2,}/\t/g' /opt/oracle/ggate/dirrpt/R1.rpt | awk -F "\t" '($3 ~/(inserts|updates|deletes):/){dml_count += $4} END {print dml_count}'`
No comments:
Post a Comment