https://www.linuxjournal.com/content/writing-secure-shell-scripts
The first "What file do you seek?" example is safe. I tried it in bash 4.4
:
cd "$(mktemp -d)"
cat > script <<EOF
echo -n "What file do you seek? "
https://www.linuxjournal.com/content/writing-secure-shell-scripts
The first "What file do you seek?" example is safe. I tried it in bash 4.4
:
cd "$(mktemp -d)"
cat > script <<EOF
echo -n "What file do you seek? "