I have this line
echo "Total artists: "$(find /users/foo/bar/movies
-maxdepth 2 -mindepth 2 -type d
| awk -F / '{print $NF}'|sort|uniq -d)
I want this to print new line as part of the results. So far I have tried
echo "Total artists: "$(find /users/foo/bar/movies
-maxdepth 2 -mindepth 2 -type d
| awk -F / '{print $NF;print "\n"}'|sort|uniq -d)
and a couple other suggestions on SO. Putting
echo " "
doesn't work either on the terminal