String Join in a Shell Script
Tuesday, October 30th, 2007I googled around for how to join a string in a shell and I found a very cool recipe:
function str_join() { echo “@*”|tr ‘ ‘ ‘:’ }
I’ve never used tr before. This goes back on the list of old-school UNIX commands I need to do [...]
