From 5b757d2f9bddc3c5838bf2d5a8e80fafe3fa8225 Mon Sep 17 00:00:00 2001 From: Ryan MacLean <6923433+ryanmaclean@users.noreply.github.com> Date: Tue, 27 Aug 2019 09:18:23 -0700 Subject: [PATCH] Simple Typo! Stood out to me when I was going over bash functions for the umpteenth time :) --- LDP/howto/linuxdoc/Bash-Prog-Intro-HOWTO.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LDP/howto/linuxdoc/Bash-Prog-Intro-HOWTO.sgml b/LDP/howto/linuxdoc/Bash-Prog-Intro-HOWTO.sgml index 9aca0e2b..89ff7502 100644 --- a/LDP/howto/linuxdoc/Bash-Prog-Intro-HOWTO.sgml +++ b/LDP/howto/linuxdoc/Bash-Prog-Intro-HOWTO.sgml @@ -537,7 +537,7 @@ Functions echo foo

Lines 2-4 contain the 'quit' function. Lines 5-7 contain the 'hello' function - If you are not absolutely sure about what this script does, please try it!. + If you are not absolutely sure about what this script does, please try it!

Notice that functions don't need to be declared in any specific order.

When running the script you'll notice that first: the function 'hello' is called, second the 'quit' function, and the program never reaches line 10.