Re: string format

2009-09-24 Thread mahaveer darade
given below will work except tab at beginning.

 echo "Hello, how are you  doing today?" |  tr -s " " "\n"


Thanks,
Mahaveer
+91 9052000707

On Thu, Sep 24, 2009 at 12:33 AM, 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 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-tp25531252p25531252.html
> Sent from the Gnu - Bash mailing list archive at Nabble.com.
>
>
>
>


-- 
Thanks,
Mahaveer


Check out my photos on Facebook

2009-09-02 Thread Mahaveer Darade
Hi bug-bash@gnu.org,

I set up a Facebook profile where I can post my pictures, videos and events and 
I want to add you as a friend so you can see it. First, you need to join 
Facebook! Once you join, you can also create your own profile.

Thanks,
Mahaveer

To sign up for Facebook, follow the link below:
http://www.facebook.com/p.php?i=593931832&k=5VFUZ66XWT6G6BD1QAY5Y4SQS&r


bug-bash@gnu.org was invited to join Facebook by Mahaveer Darade. If you do not 
wish to receive this type of email from Facebook in the future, please click on 
the link below to unsubscribe.
http://www.facebook.com/o.php?k=8a15b2&u=10036289220&mid=1088df7G5af312a3fac4G0G8
Facebook's offices are located at 1601 S. California Ave., Palo Alto, CA 94304.