Re: echo " " question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nifty Fedora Mitch wrote:
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

Hi,

by using ' (apostroph), you can quote a " (double apostroph) too:
you can say: echo ' " '"$q" >>a.txt

--

Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>

http://www.rhrk.uni-kl.de/~backes

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux