I made this code
while [ -z "$USER" ]; do >&2 echo -n 'Your desired User : ' read USER done
But this doesn't work because
$USER is taken from the current user running the script, which isn't what I want.
How can I avoid this in the future for the
$USER variable and also other variables where this could happen? Like
$PATCH or similar