注意set -x其中"-"与"x"之间没有空格
[[email protected] sh]# ./sx.sh heelo + a=heelo + echo heelo heelo [[email protected] sh]# cat sx.sh #!/bin/bash set -x a=$1 echo $a
时间: 2024-08-10 07:03:21
注意set -x其中"-"与"x"之间没有空格
[[email protected] sh]# ./sx.sh heelo + a=heelo + echo heelo heelo [[email protected] sh]# cat sx.sh #!/bin/bash set -x a=$1 echo $a