Posted By

page_lab on 05/27/12


Tagged

script perl terminal reorder epub ncx playorder


Versions (?)

EPUB: reorder playorder values in NCX file


 / Published in: Perl
 

  1. perl -pi.bak -e 'BEGIN{$num=1} s/(playOrder=.)\d*/sprintf("%s%d",$1,$num++)/e' toc.ncx

Report this snippet  

You need to login to post a comment.