Article 50XKT how to display space in a for loop

how to display space in a for loop

by
eli67
from LinuxQuestions.org on (#50XKT)
I have this statement in my code:

for i in $(echo "Hello " $name) ; do echo ${i^} ; done | tr '\n' ' ' ; echo -e "\r" | echo ", bye"

I would like to display space in the terminal, like this:

....Hello Name , bye

(without full stop)

How can I do this?
Thank you for whom will help me.latest?d=yIl2AUoC8zA latest?i=b1m7VZPyZjk:cQiYU6gLUls:F7zBnMy latest?i=b1m7VZPyZjk:cQiYU6gLUls:V_sGLiP latest?d=qj6IDK7rITs latest?i=b1m7VZPyZjk:cQiYU6gLUls:gIN9vFwb1m7VZPyZjk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments