Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Show error message and exit if $FOO is unset (or null)

for ((i = 0 ; i < 100 ; i++)); do
  echo $i
done
Source by devhints.io #
 
PREVIOUS NEXT
Tagged: #Show #error #message #exit #unset
ADD COMMENT
Topic
Name
3+4 =