Re: split string into tokens via libvirt

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

 



I'm solve, firstly by hands I'm parse from first char to end of word with backslash, after that simply split string via libvirt virStringSplit

16 нояб. 2015 г. 13:06 пользователь "Vasiliy Tolstov" <v.tolstov@xxxxxxxxx> написал:
Hi. I'm need to parse string like "= test\ aaa 3 10 0 0 1336557216 7c2b27 3 22"
I can use virStringSplitCount, but second word contains space and
splitting not works right.

Does this need i need to parse string by hand via strtok ?

--
Vasiliy Tolstov,
e-mail: v.tolstov@xxxxxxxxx
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]