On Sun, 2006-10-08 at 18:13 +0800, Ow Mun Heng wrote:
> Does anyone know how to go about escaping a "*" in a bash script?
> 
> I want to do the following
> 
> query="  select  * from table where column1='something'   "
> 

nevermind..

I did it like this
query="  select \" *\"  from table where column1='something'   "

and though it echoes back as
select "*" from....

when it gets to the SQL server, it's actually 
select * from .... 


oh well..
-- 
gentoo-user@gentoo.org mailing list

Reply via email to