title: Shell script variable value not getting update
body: <p>I'm trying to execute below bash shell script, but not getting the expected output. Possible i'm doing something wrong or it's not the way of doing this.</p>
  
  <pre><code> #bin/bash
  #set -x
  
  path1_one=/home/dell/scripts
  echo $path1_one
  param_val=path1_one
  param1=$( echo "$param_val" | awk -F '_' '{ print $0 }' )
  
  #path2="$path1"
  echo $param1
  
  #echo $path2
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <p>/home/dell/scripts</p>
  
  <p>path1_one</p>
  
  <p><strong>Expected Output:</strong></p>
  
  <p>/home/dell/scripts</p>
  
  <p>/home/dell/scripts</p>
  
  <p>Both variable value should be same,but don't know why param1 value is not reflecting with path1_one</p>