我有一个 shell 脚本,我想在其中添加一个 shebang。给定一个定义如下的变量:
SHEBANG="#!/bin/sh"
我的问题是我是否可以在另一个脚本中使用该变量,如下所示:
$SHEBANG # other stuff...
linux shell bash shell-script shebang
bash ×1
linux ×1
shebang ×1
shell ×1
shell-script ×1