File: make-single-file

package info (click to toggle)
stalin 0.11-6
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 110,396 kB
  • ctags: 163,122
  • sloc: ansic: 1,757,574; lisp: 88,332; sh: 1,514; makefile: 229; sed: 100; csh: 30
file content (31 lines) | stat: -rwxr-xr-x 916 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/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