Vit,

It appears that quotes are only allowed and necessary if there is a space in the value. So the following would work:

set name=foo value=barbaz
set name=foo value="bar baz"
set name="foo bar" value=baz

But the following fail:

set name="foo" value="bar"
set name=foo value="bar"
set name="foo" value=bar

This is a characteristic of the parsing algorithm implemented in pkg.actions.fromstr.

HTH.
Tom


Vit Hrachovy wrote:
Tom Mueller (pkg-discuss) napsal(a):
The include file looks just like a manifest except with the actual file names rather than the hash values. Each line is what you pass to "pkgsend add" without the "pkgsend add", i.e.,

set name="pkg.name" value="GNU Midnight Commander - orthodox terminal file manager for Unix-like systems"
file foo.txt owner=root group=sys mode=0644 path=somedir/foo.txt

Tom

Hi Tom,
thanks for the reply.
I've tried different inputs, but none has passed through.


Used " to encapsulate name and value values.
--------------------------------------------
Unmatched " in action 'set name="pkg.detailed_url" value="http://en.wikipedia.org/wiki/Midnight_Commander";'

Used " to encapsulate only value value.
---------------------------------------
Unmatched " in action 'set name=pkg.detailed_url value="http://en.wikipedia.org/wiki/Midnight_Commander";'

Used ' to encapsulate name and value values.
--------------------------------------------
Malformed action: 'set name=pkg.name value='GNU Midnight Commander - orthodox terminal file manager for Unix-like systems''

Used ' to encapsulate value value only.
---------------------------------------
Malformed action: 'set name='pkg.name' value='GNU Midnight Commander - orthodox terminal file manager for Unix-like systems''

Used nothing to encapsulate name and value values.
--------------------------------------------------
Malformed action: 'set name=pkg.name value=GNU Midnight Commander - orthodox terminal file manager for Unix-like systems'



I really can't find out easily what's the correct input file syntax.
If someone could provide me example working input file, it would be very helpful.

Cheers
Vit

begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center/OpenInstaller Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to