I'm using the following line to create a randomly generated password in a bash script, but it doesn't look like the string is actually being set to the variable.
#Generate random password PASSWORD=date+%s|sha256sum|base64|head -c 32; echo $PASSWORD
When I reference $PASSWORD later in this script, drush complains that I didn't supply a password. To test, I've tried a few "echoes" to confirm my suspicion. Does it look there's something off in my assignment statements?