Hello to everyone,
nice to meet you.
Well, my first problem.
If I write this into terminal
gpg-d name_file > name_file.out
gpg decrypt the name_file
but this script bash:
#!/bin/bash
gpg-d name_file > name_file.out
don't work
If I write this:
#!/bin/bash
gpg-d name_file &> out.txt
it returns this text:
gpg: cannot open `/dev/tty': Nessun device o indirizzo corrispondente
This isn't what I expected.

In addition to solving the problem, I'd like to understand it
Thank you
Ciao Andrea
p.s. - I ask pardon for my bad English