Bash Scripting - Functions
Why does
$1 inside a bash function sometimes appear empty even when arguments are passed?$1 inside a bash function sometimes appear empty even when arguments are passed?$1 refers to the first argument passed to that function, not the script.$1 is empty, even if the script has arguments.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions