This commit is contained in:
John Whitington 2022-08-10 19:05:37 +01:00
parent 51d1765fb5
commit c80c363f34
1 changed files with 22 additions and 0 deletions

22
splitjs Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
csplit -k -f javascriptsplits/c ../cpdf.js/cpdfdocs.js '/CHAPTER/' {18}
mv javascriptsplits/c00 javascriptsplits/c00.tex
mv javascriptsplits/c01 javascriptsplits/c01.tex
mv javascriptsplits/c02 javascriptsplits/c02.tex
mv javascriptsplits/c03 javascriptsplits/c03.tex
mv javascriptsplits/c04 javascriptsplits/c04.tex
mv javascriptsplits/c05 javascriptsplits/c05.tex
mv javascriptsplits/c06 javascriptsplits/c06.tex
mv javascriptsplits/c07 javascriptsplits/c07.tex
mv javascriptsplits/c08 javascriptsplits/c08.tex
mv javascriptsplits/c09 javascriptsplits/c09.tex
mv javascriptsplits/c10 javascriptsplits/c10.tex
mv javascriptsplits/c11 javascriptsplits/c11.tex
mv javascriptsplits/c12 javascriptsplits/c12.tex
mv javascriptsplits/c13 javascriptsplits/c13.tex
mv javascriptsplits/c14 javascriptsplits/c14.tex
mv javascriptsplits/c15 javascriptsplits/c15.tex
mv javascriptsplits/c16 javascriptsplits/c16.tex
mv javascriptsplits/c17 javascriptsplits/c17.tex
mv javascriptsplits/c18 javascriptsplits/c18.tex
mv javascriptsplits/c19 javascriptsplits/c19.tex