How can I pass the argument in the bash script as an argument without quotation marks?

前端 未结 0 1200
暖寄归人
暖寄归人 2020-12-09 04:19

I have this code:

#!/bin/bash
a="$1"
awk "BEGIN { print $a }"

If I run the script like this:

script.sh &qu         


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