;# Ecrit dans diradm le fichier VCDEF.tcl contenant les definitions de la queue.
;#
proc wokStore:Report:Configure { option fileadm wb queue trignam base type counter journal welcome } {
- puts ccc
set proc_defined_in_VC [list \
wokStore:Report:GetRootName \
wokStore:Trigger:GetName \
}
}
}
+;#
+;# Returs for a full path the liste of n last directory part
+;# n = 1 => tail
+;# n = 2 => dir/file.c
+;# n = 3 => sdir/dir/file.c
+;# etc..
+proc wokUtils:FILES:wtail { f n } {
+ set ll [expr [llength [set lif [file split $f]]] -$n]
+ return [join [lrange $lif $ll end] /]
+}
+
#
# Returs the list of files in dirlist using gblist as pattern newer than lim
#
}
}
#
+proc wokUtils:EASY:bs1 { s } {
+ regsub -all {/} $s {\\} r
+ return $r
+}
+#
proc wokUtils:EASY:lbs1 { ls } {
set lr {}
foreach s $ls {