Skip to content

Commit c093092

Browse files
committed
Initial upload.
1 parent b0fb27a commit c093092

62 files changed

Lines changed: 65479 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/.front.t.swp

16 KB
Binary file not shown.

src/Makefile

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#
2+
# Makefile for _Unix Text Processing_
3+
#
4+
# 16 November 2002 - jcs
5+
#
6+
#
7+
# Set the next two lines for the paths for groff and awk on your system
8+
#
9+
GROFF = /usr/bin/groff
10+
AWK = /usr/bin/awk
11+
VIEW = gv
12+
13+
CHAPTERS= front.t preface.t ch01.t ch02.t ch03.t ch04.t ch05.t \
14+
ch06.t ch07.t ch08.t ch09.t ch10.t ch11.t ch12.t ch13.t ch14.t \
15+
ch15.t ch16.t ch17.t ch18.t appa.t appb.t appc.t appd.t appe.t \
16+
appf.t appg.t
17+
18+
utp_book.ps: toc.t utp_ix.t
19+
$(GROFF) -step -ms -rRef=0 utp_book.t >$@.tmp
20+
mv $@.tmp $@
21+
22+
clean::
23+
rm -f utp_book.ps utp_book.ps.tmp
24+
25+
toc.t: $(CHAPTERS)
26+
$(GROFF) -step -ms -rRef=1 ix.macro utp_book.t >/dev/null 2>utp.aux.tmp
27+
mv utp.aux.tmp utp.aux
28+
$(AWK) -f toc.awk utp.aux >$@.tmp
29+
mv $@.tmp $@
30+
31+
clean::
32+
rm -f utp.aux.tmp utp.aux toc.t toc.t.tmp
33+
34+
utp_ix.t: $(CHAPTERS)
35+
cd index && ./make.index ../utp.aux >../$@.tmp
36+
mv $@.tmp $@
37+
38+
clean::
39+
rm -f utp_ix.t utp_ix.t.tmp
40+
41+
#########################################################################
42+
# helpers to maintain single chapters
43+
# make ch03
44+
#########################################################################
45+
46+
.SUFFIXES: .t .html .pdf
47+
48+
% : %.t
49+
groff -step -ms -rRef=0 $< > x.ps 2>ix.raw
50+
$(VIEW) x.ps
51+
52+
%.pdf : %.t
53+
groff -step -ms -rRef=0 $< > x.ps
54+
ps2pdf x.ps
55+
mv x.pdf $@
56+
$(VIEW) x.ps

src/Unix-Text-Processing

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b0fb27ad8b824aa1b0397331754df2296c27a146

0 commit comments

Comments
 (0)