Skip to content

Commit e7a8742

Browse files
author
Vladimir Kotal
committed
finish spellcheck of the file
1 parent 362e1fc commit e7a8742

File tree

2 files changed

+33
-30
lines changed

2 files changed

+33
-30
lines changed

intro.tex

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,11 @@
600600
\item One of the most important thing of a C style (well, any style) is
601601
consistency. And often it is not that important what exact C style a group
602602
of coders is going to pick as it is that one specific style is chosen and then
603-
religiously followed by all in the group. A good and rigorously followed cstyle
603+
religiously followed by all in the group. A good and rigorously followed cstyle
604604
leads to a smaller number of bugs in code.
605-
\item A pre-push hook that runs a C style check script and refuses to accept any
606-
changesets not following the chosen C style is a working solution to avoid C
607-
style violations.
605+
\item A process that runs C style check script before integration into a source
606+
code repository automatically and refuses to accept any changesets not following
607+
the chosen C style is a working solution to avoid C style violations.
608608
\item \url{http://mff.devnull.cz/cstyle.html}
609609
\end{itemize}
610610

@@ -692,9 +692,11 @@
692692
\end{tabular}
693693

694694
\begin{tabular}{ll}
695+
ifdef([[[NOSPELLCHECK]]], [[[
695696
\texttt{/usr/inc{}lude} & system header file root\\
696697
\texttt{/usr/lib/lib*.a} & static libraries\\
697698
\texttt{/usr/lib/lib*.so} & dynamic libraries
699+
]]])
698700
\end{tabular}
699701
\end{slide}
700702

@@ -1051,6 +1053,7 @@
10511053
\renewcommand{\arraystretch}{0.1}
10521054
\setlength{\tabcolsep}{0.25ex}
10531055
\begin{tabular}{lclcl}
1056+
ifdef([[[NOSPELLCHECK]]], [[[
10541057
\texttt{main.c} & & & & \\
10551058
& $\searrow$ & & & \\
10561059
& & \texttt{main.o} & & \\
@@ -1060,6 +1063,7 @@
10601063
& & \texttt{util.o} & & \\
10611064
& $\nearrow$ & & & \\
10621065
\texttt{util.c} & & & & \\
1066+
]]])
10631067
\end{tabular}
10641068
\end{itemize}
10651069
\end{minipage}\hfill
@@ -1091,8 +1095,8 @@
10911095
some files have been changed. You could always do something like
10921096
``\texttt{make clean; make all}'' but if the whole compilation process takes
10931097
minutes or even hours, you really want a well written \texttt{Makefile}.
1094-
\item A line ``\verb#prog : main.o util.o#'' defines that before \texttt{prog}
1095-
is checked, the existence of
1098+
\item A line ifdef([[[NOSPELLCHECK]]], [[[``\verb#prog : main.o util.o#'']]])
1099+
defines that before \texttt{prog} is checked, the existence of
10961100
\texttt{main.o} and \texttt{util.o} needs to be checked, and also whether they
10971101
are up to date. That check is performed recursively. After that, the existence
10981102
of \texttt{prog} is checked and whether it is up-to-date, which means whether
@@ -1535,7 +1539,9 @@
15351539
\sltitle{Debugger \texttt{dbx}}
15361540
\begin{itemize}
15371541
\item Usage:\\
1542+
ifdef([[[NOSPELLCHECK]]], [[[
15381543
\texttt{dbx [ \emph{options} ] [ \emph{program} [ \emph{core} ] ]}
1544+
]]])
15391545
\item Most common commands:\\
15401546
\renewcommand{\arraystretch}{0.9}
15411547
\begin{tabular}{ll}
@@ -1544,7 +1550,7 @@
15441550
\texttt{print \emph{expr}} & print expression\\
15451551
\texttt{set \emph{var} = \emph{expr}} & change value of variable\\
15461552
\texttt{cont} & continue program run\\
1547-
\texttt{next}, \texttt{step} & execute a line (with/out going into func)\\
1553+
\texttt{next}, \texttt{step} & execute a line (with/out going into function)\\
15481554
\texttt{stop \emph{condition}} & set breakpoint\\
15491555
\texttt{trace \emph{condition}} & remove tracepoint\\
15501556
\texttt{command \emph{n}} & action on breakpoint (commands follow)\\
@@ -1566,19 +1572,19 @@
15661572
option for translation, it is also necessary to have the object files and source
15671573
files available in the same location as they were used for compilation.
15681574
This is typically true when debugging on the system where the code is written.
1569-
For other use cases it is necessary to provide the needed files, the dbx
1570-
command \texttt{pathmap} can help with that.
1575+
For other use cases it is necessary to provide the needed files, the
1576+
\texttt{dbx} command \texttt{pathmap} can help with that.
15711577
\item \texttt{gdb}-compatible mode can be enabled using \texttt{gdb on}.
15721578
If you want to know the \texttt{dbx} equivalent command to concrete
15731579
\texttt{gdb} command, see the \texttt{help FAQ}; the very first question is
1574-
``A.1 Gdb does $<$something$>$; how do I do it in dbx?''
1575-
\item If the option \texttt{-g} is not used, dbx will be still usable on
1576-
Solaris, because it will print function arguments. On BSD systems and Linux
1580+
``A.1 Gdb does $<$something$>$; how do I do it in \texttt{dbx} ?''
1581+
\item If the option \texttt{-g} is not used, \texttt{dbx} will be still usable
1582+
on Solaris, because it will print function arguments. On BSD systems and Linux
15771583
distributions, the \texttt{-g} has to be used, otherwise the debuggers will not
15781584
be of much use. This is demonstrated in the \example{debug/dbx.c} example.
1579-
When compiling with gcc and using gdb the \texttt{where} command will not show
1580-
the function parameters, while on Solaris with the Studio compiler and dbx
1581-
debugger, the function parameters will be shown.
1585+
When compiling with \texttt{gcc} and using \texttt{gdb} the \texttt{where}
1586+
command will not show the function parameters, while on Solaris with the Studio
1587+
compiler and \texttt{dbx} debugger, the function parameters will be shown.
15821588
\item Example: \example{debug/coredump.c}. After compilation and running the
15831589
program will crash and a core dump will be generated (if permitted on the system;
15841590
also see \texttt{ulimit -c})
@@ -1633,7 +1639,7 @@
16331639
\texttt{print \emph{expr}} & print expression\\
16341640
\texttt{set \emph{var} = \emph{expr}} & change value of variable\\
16351641
\texttt{cont} & continue program run\\
1636-
\texttt{next}, \texttt{step} & execute a line (with/out going into func)\\
1642+
\texttt{next}, \texttt{step} & execute a line (with/out going into function)\\
16371643
\texttt{break \emph{condition}} & set breakpoint\\
16381644
\texttt{help [\emph{name}]} & print help\\
16391645
\texttt{quit} & debugger exit

unix_dict.txt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
personal_ws-1.1 en 350
1+
personal_ws-1.1 en 325
22
Illumos
33
Prog
44
Ctrl
@@ -12,6 +12,7 @@ errnum
1212
dev
1313
DUPFD
1414
bsd
15+
redistributable
1516
Ritchie
1617
userspace
1718
OpenSSH
@@ -32,8 +33,8 @@ userland
3233
TLI
3334
args
3435
argv
35-
UFS
3636
UID
37+
UFS
3738
tracepoint
3839
DNS
3940
PCTS
@@ -86,8 +87,8 @@ multiuser
8687
XDR
8788
allocators
8889
pathmap
89-
Makefile
9090
makefile
91+
Makefile
9192
Butenhof
9293
Xinuos
9394
IEC
@@ -137,8 +138,8 @@ filesystems
137138
iOS
138139
Rago
139140
lstat
140-
IPS
141141
ldd
142+
IPS
142143
acomp
143144
gprof
144145
currentunix
@@ -175,28 +176,27 @@ cplusplus
175176
Solaris
176177
longopts
177178
Minix
179+
allocator
178180
dlsym
179181
enviroment
180-
allocator
181182
hg
182-
Solarix
183183
Downey
184-
getopts
184+
Solarix
185185
vnode
186+
getopts
186187
FreeBSD
187188
changesets
188189
DGRAM
189190
namespaces
190191
Rudoff
191-
ke
192192
Dekker's
193+
ke
193194
preprocesor
194195
UNIXware
195196
HW
196197
Microsystems
197198
Pechanec
198199
ld
199-
LD
200200
jp
201201
LF
202202
http
@@ -225,7 +225,6 @@ APIABI
225225
perror
226226
preprocessor
227227
automake
228-
Automake
229228
loopback
230229
Gingell
231230
SPARC
@@ -280,7 +279,6 @@ cron
280279
Uresh
281280
DARPA
282281
interprocess
283-
Interprocess
284282
getopt
285283
pthreads
286284
NDEBUG
@@ -302,12 +300,12 @@ pdftitle
302300
RDONLY
303301
environ
304302
chrooted
305-
linker's
306303
Linkers
304+
linker's
307305
SAS
308306
CSRG
309-
symlinks
310307
symlink's
308+
symlinks
311309
OpenBSD
312310
SCO
313311
Xcurses
@@ -326,4 +324,3 @@ Rochkind
326324
janp
327325
corrigendums
328326
syscalls
329-
redistributable

0 commit comments

Comments
 (0)