Answers for "bash assign $1 value"

9

bash assign $1 value

if [[ $1 == "foo" ]]; then
    set -- "bar"
fi
echo $1
Posted by: Guest on July-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language