Subversion Repositories wimsdev

Rev

Rev 101 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
!sh cd $wims_home/log/classes/$wims_class/cdt/def;\
2
grep date_todo= * | awk -F":!set date_todo=" '{if($$2!="") print $$1","$$2;}' | awk -F"," '{i=2; while(i<=NF) {print $$i","$$1;i++;};}' >$wims_home/log/classes/$wims_class/cdt/index;
3
nbdate=!sh cd $wims_home/log/classes/$wims_class/cdt/def;\
101 guerimand 4
t1=`ls -1 | awk 'END {print FNR;}'`;\
5
t2=`ls -1 | cut -c1-6 | sort | uniq `;\
23 reyssat 6
echo "$$t1";\
7
echo "$$t2";
8
cdt_nbdate=!line 1 of $nbdate
9
cdt_ltmonth=!line 2 to -1 of $nbdate
10
cdt_ltmonth=!lines2items $cdt_ltmonth
11
!setdef !set cdt_nbdate=$cdt_nbdate\
12
!set cdt_ltmonth=$cdt_ltmonth in wimshome/log/classes/$wims_class/cdt/.def
13
cdt_nbmonth=!itemcnt $cdt_ltmonth