[Libguestfs] [PATCH v6 2/3] mllib: modify nsplit to take optional noempty and count arguments

Richard W.M. Jones rjones at redhat.com
Tue Jan 31 12:13:24 UTC 2017


On Tue, Jan 31, 2017 at 11:35:01AM +0000, Richard W.M. Jones wrote:
> You can write this line as:
> 
>     elem @ nsplit ~count sep s''

For why, see:

https://www.redhat.com/archives/libguestfs/2017-January/msg00020.html

and follow-ups.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list