*nix - split string into lines

I was having trouble with cut, why not use tr (translate)?

echo $PATH | tr ':' '\n'

Comments

Popular posts from this blog

cURL to REST API

Indesign scripting - negative object reference