Horje
call function from separate bash script Code Example
call function from separate bash script
#second.sh
func1 {
   fun="$1"
   book="$2"
   printf "func=%s,book=%s\n" "$fun" "$book"
}

func2 {
   fun2="$1"
   book2="$2"
   printf "func2=%s,book2=%s\n" "$fun2" "$book2"
}

#first.sh
source ./second.sh
func1 love horror
func2 ball mystery




Cpp

Related
c++ create thread Code Example c++ create thread Code Example
raspberry pi mount external hard drive Code Example raspberry pi mount external hard drive Code Example
cpp language explained Code Example cpp language explained Code Example
build a prefix array cpp Code Example build a prefix array cpp Code Example
sort vector in reverse order c++ Code Example sort vector in reverse order c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10