Answers for "aexprot bash varible to another script"

0

aexprot bash varible to another script

script 1 #############
rr=`echo $directory_rr | awk '{split($1,a,"/"); print a[2]}'`
 . /location/profiles.sh 

#this "." /location/profiles.sh is very important for sourcing


script 2#################

grep Etot location/md.out | awk -v env_var="$rr" do something  > mm_prof_$rr
Posted by: Guest on May-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language