On Thu, Jul 16, 2009 at 03:14:30PM +0200, Jim Meyering wrote: > > So using 'tail' instead of this perl script would be more readable > > and efficient. > > tail -c2 might be my choice, too, for a small number of files. > But in our case, using it would incur the cost of 1000+ fork+execs. I was thinking you'd just give it lots of files at once via xargs, though then you have the tedium of parsing its output Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list