Re: Curious bash evaluation

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

 



On Monday 27 December 2010 08:05 AM, Rodolfo Alcazar Portillo wrote:
> Hello. See this:
>
> # A="echo 'hi'"

I think this assignment makes the single quotes part of the string to be 
"echo"ed. Its is equivalent to saying, echo \'hi\'.

If you don't want the single quotes echoed, don't use them inside the 
double quotes either.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux