commit - 07118158f60858e7802c02e83aacde7ca5f79d46
commit + 8fbf22241a421f5c50a2b4f1a13ec26d2da619c1
blob - 45530864b88c592e755d9db260c8fbf96b6d7f0e
blob + 5eed89f9b0781ef877ab61fdb5f8eb455d7fbebd
--- enc
+++ enc
if [ -r "$passfile" ]; then
res=''
while [ "$res" != 'yes' ]; do
- echo -n "file ${passfile} already exists, overwrite it? (yes,no)[no] "
+ printf 'file %s already exists, overwrite it? (yes,no)[no] ' "$passfile"
read -r res
- if [ "$res" == '' ] || [ "$res" == 'no' ]; then
+ if [ "$res" = '' ] || [ "$res" = 'no' ]; then
exit
fi
done