79550179

Date: 2025-04-02 09:12:01
Score: 0.5
Natty:
Report link

Do the changes below in your test.sh and test2.sh We have to pass the variables as arguments to the script.

test.sh (updated version):

#!/bin/bash

TESTVARIABLE=hellohelloheloo
./test2.sh ${TESTVARIABLE}

test2.sh (updated version):

#!/bin/bash

echo ${1}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Theri Muthu Selvam