codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <iostream> int main(void) { for(int i=1; i<29; i++) std::cout << "sed -n '/\\maketitle/,/\\end{document}/{//d;p;}' " << "Lecture" << i << ".tex" << " > Lecture" << i << "-body.tex" << std::endl; } // a.exe > [dir where .tex are]\process.bat
Private
[
?
]
Run code
Submit