How to make double quoted variable in bash to output empty instead of two single quote?

前端 未结 0 1435
迷失自我
迷失自我 2021-02-01 22:38

I got a bash script , for example

[root@test ~]# cat 1.sh
#!/bin/bash
var1=""
var2=""
touch "$var1"
touch $var2

it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题