##It1 v1={1,2,3,4}; v2={3,4,5,6}; v1 & v2; ##Rt1 VAR v1 = {"1","2","3","4"} VAR v2 = {"3","4","5","6"} RES {"3","4"} ##It2 v1={"/a/b/toto.c","/a/toto","toto.c"}; dirname(v1); basename(v1); ##Rt2 VAR v1 = {"/a/b/toto.c","/a/toto","toto.c"} RES {"/a/b","/a","."} RES {"toto.c","toto","toto.c"} ##It3 v1= { 1,2, 3, 4 }; ##Iconcat v1={1,2,3}; v2={4,5,6}; v1 : v2; v1 : "allo"; "allo " : v1; ##Rconcat VAR v1 = {"1","2","3"} VAR v2 = {"4","5","6"} RES {"1","2","3","4","5","6"} RES {"1allo","2allo","3allo"} RES {"allo 1","allo 2","allo 3"} ##Ifunc v1={"/tmp/a.c","/a/b/a.c","/z/a.c"}; v1.sort(); v1.sort().uniq(); v1.sort().basename().uniq(); "/zzz/" : (v1.sort().basename().uniq()); v1.count(); v1.notuniq(); v1.basename().notuniq(); ##Rfunc ##Igrep v1={"allo","toto","comment"}; v1.grep(".*o"); ##