1 |
On 08/10/06, Ow Mun Heng <Ow.Mun.Heng@×××.com> wrote: |
2 |
> Does anyone know how to go about escaping a "*" in a bash script? |
3 |
> |
4 |
> I want to do the following |
5 |
> query=" select * from table where column1='something' " |
6 |
|
7 |
Well one you can use different quotes: |
8 |
query='select * from table' |
9 |
|
10 |
Or you can \* it. |
11 |
query="select \* from table" |
12 |
|
13 |
Stepping away from bash and into MySQL for a second, why are you |
14 |
selecting *? See google for the debates :) |
15 |
|
16 |
Thanks |
17 |
Mark |
18 |
-- |
19 |
gentoo-user@g.o mailing list |