Hi,
I am trying to write a simple password reading script
This works but when the password string contains special characters like * and $ it throws an error "No Match". How do I have to modify the script that special characters are set correctly to the variable?
Thank you
YAG
I am trying to write a simple password reading script
Code:
#! /bin/csh
echo -n "enter password: "
stty -echo
set pw=$<
stty echo
echo $pw > passphrase
cat passphrase
This works but when the password string contains special characters like * and $ it throws an error "No Match". How do I have to modify the script that special characters are set correctly to the variable?
Thank you
YAG