I want to export many paths using a .sh script. after running it nothing is exported I don't know why. so if anyone can advise. This is the script used:
#!/bin/bash
txtrst=$(tput sgr0) # Text reset
txtred=$(tput setaf 1) # Red
echo "${txtred}## var ##${txtrst}"
T_D_L=/home/
T_D=$T_D_L
after that I run echo $T_D_L
but nothing happens