11 reputation
2
bio website
location
age
visits member for 2 years, 2 months
seen Sep 25 '12 at 4:05

Sep
25
comment Adding breaks between every two words in bash
Thanks but I have used <br /> tag instead of \n and it worked since the Content-Type is text/html. Thanks for all your help! Really appreciate the effort you put in.
Sep
24
comment Adding breaks between every two words in bash
Hi Craig, I have tried this and when I echo it, it is working perfectly. I have stored it in a variable like this: <br /> printf -v myvariable $'Your Name: %s\nYour Phone: %s\n\Email: %s\n' "${output[@]}" . <br />It is printing as expected but when I try to echo(with -e option) the "myvariable" in the email that I am sending out, the formatting vanishes.
Sep
24
comment Adding breaks between every two words in bash
This seems to be the solution for my question. Thanks a lot! I will try this.
Sep
24
comment Adding breaks between every two words in bash
Yes, I have tried this before and it failed where the data has a space character.
Sep
21
awarded  Editor
Sep
21
revised Adding breaks between every two words in bash
added 3 characters in body
Sep
21
awarded  Student
Sep
21
asked Adding breaks between every two words in bash