Re: string format

2009-09-24 Thread mahaveer darade
by replacing spaces with newlines and tabs, and also adding a tab to the beginning. the variable... MyVar=Hello, how are you doing today? I would like to print this Hello, how are you doing today? -- View this message in context: http://www.nabble.com/string-format

string format

2009-09-23 Thread eatsubway
today? -- View this message in context: http://www.nabble.com/string-format-tp25531252p25531252.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: string format

2009-09-23 Thread Mike Stroyan
On Wed, Sep 23, 2009 at 12:03:56PM -0700, eatsubway wrote: hello, i have a simple question. I have a string which i would like to format by replacing spaces with newlines and tabs, and also adding a tab to the beginning. The printf builtin will do that easily. If you give it a format