1 .TH zpm-quote 8 2018-12-08 "ZPM 0.3"
3 zpm-quote \- list files in a zpm package
9 [\fB-d \fIdelimiter\fR]
11 \fBzpm-quote\fR quotes its arguments so the result can
12 be safely interpolated in sql statements or shell scripts.
13 By default the arguments are quoted as a sql string literal.
17 add quotes around the result.
20 quote for the shell instead of sql
23 quote as an sql identifier
26 separate arguments with the given delimiter string. If
27 not specified, results are separated with a newline
32 zpm quote -q foo -> 'foo'
34 zpm quote -qi foo -> "foo"
36 zpm quote -q 'foo bar' -> 'foo bar'
38 zpm quote -qs "foo'bar" -> 'foo'\\''bar'
40 0 on success non zero on failure