From 5a8f9ab77eb365fb9e3d98dde9bfa30f5e061896 Mon Sep 17 00:00:00 2001 From: Jan Altenberg Date: Wed, 28 Apr 2010 12:44:27 +0200 Subject: - Added some stuff to cross development chapter - Bugfixes for sh programming handout --- linux-basics/sh-programming/handout_sh-programming_de.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-basics') diff --git a/linux-basics/sh-programming/handout_sh-programming_de.tex b/linux-basics/sh-programming/handout_sh-programming_de.tex index f27f70e..e9c84b4 100644 --- a/linux-basics/sh-programming/handout_sh-programming_de.tex +++ b/linux-basics/sh-programming/handout_sh-programming_de.tex @@ -32,8 +32,9 @@ echo Hello World MY_VAR=17 PAR_1=$1 datum=`date` +MY_HOST=$(hostname) -echo variable is $(MYVAR), parameter is $(PAR_1) +echo variable is ${MYVAR}, parameter is ${PAR_1} \end{lstlisting} Variablen können einfach in der Form \cmd{Name=Wert} geschrieben werden. Sie -- cgit v1.2.3