On 08/10/06, Ow Mun Heng <[EMAIL PROTECTED]> 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'   "

Well one you can use different quotes:
query='select * from table'

Or you can \* it.
query="select \* from table"

Stepping away from bash and into MySQL for a second, why are you
selecting *? See google for the debates :)

Thanks
Mark
--
gentoo-user@gentoo.org mailing list

Reply via email to