passing variable containing space to command in bash

后端 未结 0 1485
忘了有多久
忘了有多久 2020-12-09 17:13

I have a program that receives some options, like below:

root@machine:~$ cat notmodifiable
#!/bin/bash

echo 1: $1
echo 2: $2
echo 3: $3
echo 4: $4

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