echo " " question

Nifty Fedora Mitch niftyfedora at niftyegg.com
Sun Jun 28 18:34:10 UTC 2009


On Wed, Jun 24, 2009 at 09:23:24AM +0200, Kevin Kofler wrote:
> chloe K wrote:
> > how can I use echo quote? I try it and it doesn't work
> > 
> > eg:
> > 
> > echo  " "$q" " >> a.txt
> > 
> > it can't have " " in the a.txt
> 
> http://www.faqs.org/docs/abs/HTML/quoting.html
> 
>         Kevin Kofler

Good link worth a bookmark!

Is the original poster looking for this type of solution:
$ S="Tango"
$ echo -e "\040$S\040"
 Tango 




-- 
	T o m  M i t c h e l l 
	Found me a new hat, now what?





More information about the fedora-list mailing list