I am trying to use +batchmode in a shell script to encript a file and
doesn't work.
my line is:

pgp +batchmode -e

In interactive mode is waiting for to encrypt but in batchmode is
taking instead of y as entry and is giving error.

Anybody can help me, please?

Thank you