From: Mart Lubbers Date: Thu, 4 Sep 2014 13:22:07 +0000 (+0200) Subject: Exit started, syntax almost finished X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmart;p=linuxnijmegen-bash.git Exit started, syntax almost finished --- diff --git a/part1/exit.tex b/part1/exit.tex index 5f40328..631c801 100644 --- a/part1/exit.tex +++ b/part1/exit.tex @@ -1 +1,33 @@ % 2. Exit codes, special variables ($? $!) +\subsection{Exit codes} +\begin{frame} + \frametitle{Exit code} + \begin{table} + \small\centering + \caption{Betekenissen van exit codes} + \begin{tabular}{|l|l|l|} + \hline + Nummer & Betekenis & Extra\\ + \hline + 0 & Positieve exit code & \\\hline + 1 & Algemene fouten &\\\hline + 2 & Verkeerd gebruik van shell opties & Fout gebruik opties\\\hline + 126 & Commando kan niet uitgevoerd worden & Permissie probleem\\\hline + 127 & Commando kan niet gevonden &\\\hline + 128 & Fout argument voor exit() &\\\hline + 128+n & Fatale fout nummer: $n$ &\\\hline + 130 & CRTL-C getermineerd &\\\hline + 255 & Ext status buiten bereik &\\\hline + \end{tabular} + \end{table} +\end{frame} + +\subsection{Introductie variabelen, speciale variabelen} +\begin{frame} + \frametitle{Speciale variabelen} + \begin{block}{Intro variabelen} + + \end{block} + \begin{block}{Speciale variabelen} + \end{block} +\end{frame} diff --git a/part1/syntax.tex b/part1/syntax.tex index 046e81f..d73537d 100644 --- a/part1/syntax.tex +++ b/part1/syntax.tex @@ -89,3 +89,4 @@ DESCRIPTION \begin{block} Achtergrond \end{block} +\end{frame}