Just a place where to dump some code to the community.
$ echo "1,a/b/c/d" | \perl -F, -l0ane 'print "$F[0],$_\n" foreach(split("/",$F[1]))'$
$ echo "1,a/b/c/d" | awk -F, '{split($2,z,"/");for(i in z)print$1","z[i]}'
No hay comentarios:
Publicar un comentario