[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [FOR REVIEW ONLY] guestfish: Enable grouping in string lists



On 11/09/09 11:36, Richard W.M. Jones wrote:
Incidentally, this change also alters another, probably unintentional behaviour
of the previous implementation, in that tokens are separated by any amount of
whitespace rather than a single whitespace character. I.e.:
   "a  b"
resolves to:
   'a' 'b'
rather than:
   'a' '' 'b'
Whitespace is now also defined to include tabs.

This behaviour was intentional, although not documented.  How can we
define a list that contains an empty string now?  Does "a '' b" work?

Yes, it does.

Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]