From 78b070f38146cd85b2a4694c09199a15aba8b714 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Mon, 8 Oct 2018 23:33:30 +0200
Subject: sh-programming: fix example whitespace

Whitespace is needed for all parts of [ tests. Also, while at it,
change it to match the multi-line version.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 linux-basics/sh-programming/pres_sh-programming_en.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'linux-basics/sh-programming/pres_sh-programming_en.tex')

diff --git a/linux-basics/sh-programming/pres_sh-programming_en.tex b/linux-basics/sh-programming/pres_sh-programming_en.tex
index 1e6202f..fbe6f15 100644
--- a/linux-basics/sh-programming/pres_sh-programming_en.tex
+++ b/linux-basics/sh-programming/pres_sh-programming_en.tex
@@ -126,7 +126,7 @@ fi
 
 # in one line...
 
-if [ condition]; then ...; fi
+if [ condition ]; then ...; else ...; fi
 \end{lstlisting}
 \end{frame}
 
-- 
cgit v1.2.3

