Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: noquote for quotes as in noglob for filename generation?
- X-seq: zsh-users 14482
- From: Dražen Kačar <dave@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: noquote for quotes as in noglob for filename generation?
- Date: Sun, 11 Oct 2009 17:22:20 +0200
- In-reply-to: <237967ef0910110805rc8d4651i8627bdfe83eccc7d@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <544dda350910092001r28997c41x5ef1ffe2e6d71982@xxxxxxxxxxxxxx> <87ab002aev.fsf@xxxxxxxxxxxxxxxxxxxx> <544dda350910100053s499c0827yd54408b7f82b696d@xxxxxxxxxxxxxx> <544dda350910100233r6954f653wee358fc568e3a1a8@xxxxxxxxxxxxxx> <7591F47B-F5AA-42EE-849A-9D8B1EC5FCFF@xxxxxxxxxxx> <20091011145833.GA1254@xxxxxxxxxxxxxx> <237967ef0910110805rc8d4651i8627bdfe83eccc7d@xxxxxxxxxxxxxx>
Mikael Magnusson wrote:
> 2009/10/11 Dražen Kačar <dave@xxxxxxxxxxxxxx>:
> > The minimal quoting syntax I managed to find in zsh is:
> >
> > setopt rc_quotes
> > sql_execute 'select * from foo where id=''bar'';'
> >
> > That's a bit more readable than id=\'bar\' but still requires quoting.
>
> Or you can just use double quotes instead.
> sql "select * from foo where id = 'bar';"
That's a problem with some databases. Oracle, for example, has a bunch of
views whose names start with "v$" and double quotes would want to expand
that.
--
.-. .-. Yes, I am an agent of Satan, but my duties are largely
(_ \ / _) ceremonial.
|
| dave@xxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author