On 4/18/12 2:48 PM, Shawn Walker wrote:
On 04/18/12 14:39, Philip Brown wrote:
Given that, I think it would be more comprehensible if the output was
altered as follows:
pkg search path:/some/path/name
(output unchanged from now, except to add initial slash)
INDEX ACTION VALUE PACKAGE
path file /some/path/name pkg:/blah/blah
Except the initial slash doesn't exist in the manifest files.
finefine, then allow it to work when the user does not specify initial
slash also.
Be consistent. If what really matters for that field is "what's in the
manifest files", then allow matches based on that value.
If on the other hand, what matters is the actual deployed value, which
has a leading slash, then display leading slash, when you require
leading slash for a match.
pkg search basename:name
(output changed, to have initial slash, AND action field changed to real
key)
INDEX ACTION VALUE PACKAGE
basename name /some/path/name pkg:/blah/blah
The keys represent search indexes, not action attributes. This is
important since some searches may be a logical (such as 'basename')
and not physical result.
I dont see how what you said here, conflicts with what I said.
Specific examples would probably help clarify.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss