![]() |
| ||
| CopyRight symbol printing using shell script I am having a problem. I am trying to print the copyright symbol using echo command. But the copyright symbol should be placed in an xml tag. For instance this is my shell script code echo "<string>""3.15," © "Copyright 2008 My company Inc. All rights reserved.""</string>" when i copy this above script in terminal and run .... It put the value \302\251 instead of "©" I tried replacing the "©" with the "\302\251 " in the script which i got from the terminal. But when i run from the shell script it is not working Any help? Thanks in Advance |
| ||
| Re: CopyRight symbol printing using shell script try this : echo -e "<string>""3.15," © "Copyright 2008 My company Inc. All rights reserved.""</string>" it worked fine in my terminal |
| All times are GMT -4. The time now is 4:55 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC