3 ############################################################
5 # author: devenkong(18151155@qq.com)
7 ############################################################
8 # Copyright (C) 2022- Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software
10 # Foundation gives unlimited permission to copy, distribute
12 ############################################################
14 # variable modification in some of while loop is not
16 ############################################################
28 ##############################
29 # section: shlib include
30 ##############################
36 ##############################
37 # section: public comment info
38 ##############################
43 ##############################
44 # section: variable define
45 ##############################
50 ##############################
51 # section: private function
52 ##############################
57 ##############################
58 # section: public function
59 ##############################
70 init_dbglogout 2 shlibopt 20000
72 info "this example shows how to use debug infomation output function in sub-process of while loop."
73 echo xxxxxxxxxxxxxxxxxxxxxxxxx
80 [[ $cnt = 5 ]] && break
84 dbgout "output debug string here."
85 info "output info string on tty console."
88 echo at last, cnt=$cnt
92 echo xxxxxxxxxxxxxxxxxxxxxxxxx
98 ##############################
100 ##############################