erste Version der Scripts.
This commit is contained in:
17
teil26/version3.sh
Executable file
17
teil26/version3.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
# Version 3: Text als here Doc innerhalb des Scripts
|
||||
|
||||
usage() {
|
||||
cat <<- EOF
|
||||
Dies ist ein Beispiel für
|
||||
einen mehrzeiligen Text,
|
||||
der für einen Hilfetext steht.
|
||||
|
||||
Programm: ${0##*/}"
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
usage
|
||||
exit 0
|
||||
Reference in New Issue
Block a user