Skip to content

Commit b4db95d

Browse files
committed
link the example rather than inlining it
1 parent e31d4fa commit b4db95d

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

intro.tex

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,28 +1141,11 @@
11411141

11421142
\begin{itemize}
11431143
\item \emsl{Note that the line with a command starts with a tab, not
1144-
spaces.} Every command line is executed via its own shell invocation. If
1144+
spaces.}
1145+
\item Every command line is executed via its own shell invocation. If
11451146
multiple commands need to be executed via the same shell process, all but the
1146-
last line needs to be terminated with a backslash. See the following example
1147-
where the last two \texttt{echo} commands are part of the same \texttt{if}
1148-
construct.
1149-
1150-
\begin{verbatim}
1151-
$ cat basic-utils/Makefile02
1152-
all:
1153-
@echo $$$$
1154-
@echo $$$$
1155-
@if true; then \
1156-
echo $$$$; \
1157-
echo $$$$; \
1158-
fi
1159-
$ make -f Makefile02
1160-
5513
1161-
5514
1162-
5515
1163-
5515
1164-
\end{verbatim}
1165-
1147+
last line needs to be terminated with a backslash.
1148+
See \example{basic-utils/Makefile02}.
11661149
\item The backslash works as a word separator and a space is inserted. See
11671150
the following example: \example{basic-utils/Makefile07}.
11681151
\item Using a double \texttt{\$} suppresses the special meaning of a dollar
@@ -1175,7 +1158,7 @@
11751158
ignore a non-zero return value (usually indicating a failure), otherwise
11761159
\texttt{make} reports the error and bails out right away. Example:
11771160
\example{basic-utils/Makefile04}.
1178-
\item
1161+
\item
11791162
\begin{verbatim}
11801163
test1:
11811164
false

0 commit comments

Comments
 (0)