File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 46
46
fi
47
47
48
48
# Prüfen Sie den fehlenden Parameter.
49
- # Nutzungsnachricht anzeigen und beenden, wenn sie fehlt :
49
+ # Display usage message and exit if it is missing :
50
50
51
51
if [ "$1" = "" ]
52
52
then
53
- echo "$PGM : Parameter 1 is required"
53
+ echo "$PGM : parameter 1 is required"
54
54
echo "Usage: $PGM param-one"
55
55
exit
56
56
fi
57
57
58
- # Datenaufforderung (in diesem Fall eine Ja/Neinantwort, die standardmäßig auf "N"):
58
+ # Prompt for data (in this case a yes/no response that defaults to "N"):
59
59
60
- /bin/echo -n "Möchten Sie fortfahren ? [y/N] "
60
+ /bin/echo -n "Do you wish to continue ? [y/N] "
61
61
read yn
62
62
if [ "$yn" != "y" ] && [ "$yn" != "Y" ]
63
63
then
66
66
fi
67
67
68
68
# If only one copy of your script can run at a time, use this block of code.
69
- # Check for lock file. Wenn es nicht existiert, erstellen Sie es .
69
+ # Check for lock file. If it doesn't exist create it .
70
70
# If it does exist, display error message and exit:
71
71
72
72
LOCKF="/tmp/${PGM}.lock"
You can’t perform that action at this time.
0 commit comments