File tree Expand file tree Collapse file tree 3 files changed +28
-13
lines changed Expand file tree Collapse file tree 3 files changed +28
-13
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,12 @@ notes: $(NOTES)
6262clean :
6363 -rm -f * .log * .aux * .m4.tex * .pdf * .m4.tmp * .out
6464
65- # Once translation is finished, make this return 1 on non-empty output.
6665spellcheck :
66+ @rm -f /tmp/aspell.out
6767 @for file in ${SLIDES} ; do \
6868 echo " ### Checking $$ file" ; \
6969 $(M4 ) $$ file | sed -E -f spellfilter.sed | \
70- aspell -t --personal=./unix_dict.txt list; \
70+ aspell -t --personal=./unix_dict.txt list | \
71+ tee -a /tmp/aspell.out; \
7172 done
73+ @if [ -s /tmp/aspell.out ]; then exit 1; fi
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ and sed (using spellfilter.sed).
88The sed filters are not very smart, especially they cannot deal with multi line
99LateX commands. For those, wrap the lines inside the ifdef, like so:
1010
11- ifdef([[[NOSPELLCHECK]]], [[[
11+ ifdef([[[NOSPELLCHECK]]], [[[
1212\texttt{void \funnm{err}(int \emph{status},
13- const char *\emph{fmt}, ...);}
13+ const char *\emph{fmt}, ...);}
1414]]])
1515
1616The [[[ and ]]] character sequences are left and right quotation marks,
@@ -24,4 +24,8 @@ Sometimes it is not obvious from the output from the 'spellcheck' makefile
2424target where particular problem is. To do that it is necessary to enter
2525interactive mode on file processed by m4/sed and then run aspell with the
2626'check' command (that requires file name as argument) in one terminal window and
27- edit the original .tex file in another window.
27+ edit the original .tex file in another window. For example:
28+
29+ $ m4 files.tex | sed -E -f spellfilter.sed > /tmp/p
30+ $ aspell -t --personal=./unix_dict.txt -c /tmp/p
31+
Original file line number Diff line number Diff line change 1- personal_ws-1.1 en 349
1+ personal_ws-1.1 en 361
22Illumos
33Prog
44Ctrl
1616Ritchie
1717userspace
1818OpenSSH
19+ transactional
1920OpenSSL
2021signalled
2122buf
3132Kernighan
3233reentrant
3334userland
34- RTS
3535TLI
36+ RTS
3637args
3738FIFO
3839casted
3940argv
40- UFS
4141UID
42+ UFS
4243tracepoint
4344DNS
4445PCTS
5152SVID
5253proberen
5354PDPs
55+ journaling
5456Libes
5557SunOS
5658gdb
125127sandboxing
126128XPG
127129McKusick
130+ JFS
128131ing
129132SONAME
130133GIDs
148151Rago
149152lstat
150153cancelling
151- IPS
152154ldd
155+ IPS
153156acomp
154157dereferencing
155158gprof
@@ -158,11 +161,14 @@ endianess
158161ftruncate
159162ipcs
160163cxref
164+ automounter
161165COFF
162166multithreading
163167endian
164168Malostransk
169+ superblocks
165170destructors
171+ interoperability
166172pdfkeywords
167173localhost
168174symlink
@@ -202,6 +208,7 @@ FreeBSD
202208changesets
203209DGRAM
204210namespaces
211+ bootable
205212Rudoff
206213Dekker's
207214ke
@@ -268,10 +275,12 @@ Beran
268275PDP
269276UI
270277cstyle
278+ dirhash
271279commitee
272280ascii
273281mutex
274282ACM
283+ ReiserFS
275284preprocessor's
276285ICMP
277286WG
287296intructions
288297OOB
289298Moder
299+ swapper
290300lclcl
291301timesharing
292302fildes
@@ -295,6 +305,7 @@ CompactFlash
295305AFS
296306NSS
297307destructor
308+ superblock
298309cron
299310Uresh
300311DARPA
@@ -321,13 +332,13 @@ pdftitle
321332RDONLY
322333environ
323334chrooted
324- linker's
325335Linkers
336+ linker's
326337cancellation
327338SAS
328339CSRG
329- symlinks
330340symlink's
341+ symlinks
331342OpenBSD
332343signalling
333344SCO
@@ -348,5 +359,3 @@ Rochkind
348359janp
349360corrigendums
350361syscalls
351- swapper
352- NRU
You can’t perform that action at this time.
0 commit comments