title: Copy command using variables in bash
body: <p>I am doing something like this </p>
  
  <pre><code>backEnd_root=`cat "$user_data_file" | grep "backEnd_root"|cut -d ":" -f2`
  backEndStatic=`echo "$backEnd_root/ui/static"`
  echo "Destination is $backEndStatic" 
  </code></pre>
  
  <p>Value of $backEnd_root is: /Users/naresh.joshi01/Documents/Projects/Process_Management/BackEnd_Branches/develop/peloton</p>
  
  <p>Result of echo command is like this: </p>
  
  <p>Destination is /Users/naresh.joshi01/Documents/Projects/Process_Management/BackEnd_Branches/develop/peloton
  /Users/naresh.joshi01/Documents/Projects/Process_Management/BackEnd_Branches/develop/peloton/ui/static</p>
  
  <p>Why does it show two values for the same variable?</p>