I would like to print content of directory separated by specific delimiter (in my case ':'). So I am searching for equivalent of this loop:
for f in * ; do printf $f: ; done
But this loop print extra ':' at the end and I am pretty sure there is more elegant solution for my case. I tried something like
echo * | tr " " :
But there is a problem if filename contains spaces. Any ideas?