Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (31 sloc) 914 Bytes
#!/bin/tcsh -f
scc -o remove-extra-blank-lines remove-extra-blank-lines.sc
rm -f remove-extra-blank-lines.c
rm -f stalin.sc last-line.sc trotsky.sed
cat <<eof >trotsky.sed
\+;;; Begin delete for Trotsky+,\+;;; End delete for Trotsky+d
\+;;; Tam V'Nishlam Shevah L'El Borei Olam+,\+;;; http://www.ece.purdue.edu/~qobi+d
s/\\\\+\./+\./g
s/\\\\-\./-\./g
eof
cat <<eof >last-line.sc
;;; Tam V'Nishlam Shevah L'El Borei Olam
eof
cat lenin.sc\
source/stalin1.sc\
source/stalin2.sc\
source/stalin3a.sc\
source/stalin3b.sc\
source/stalin4a.sc\
source/stalin4b.sc\
source/stalin4c.sc\
source/stalin4d.sc\
source/stalin5a.sc\
source/stalin5b.sc\
source/stalin5c.sc\
source/stalin5d.sc\
source/stalin5e.sc\
source/stalin.sc\
|sed -f trotsky.sed|cat - last-line.sc\
|remove-extra-blank-lines >stalin.sc
rm -f last-line.sc trotsky.sed remove-extra-blank-lines