I have move ksh script to bash. This script have line which I can't understood:
pgp -z <pwd> +force $NAME1
Can any one help me to find what means or what it's role in this line? -z option used to pass password into pgp. So possibly could be variable with password. But string pwd is used only once in this script. Maybe it's just redirect or some global variable?
kshcode contains the literal string you have quoted, including the<pwd>? don't you mean"$pwd"? OR is preceded with the comment character#? Good luck.user/<pwd>@srvkshversion of this code in use? While it may pass syntax checks, it seems it would generate errors.pgp -z <pwddoes make (some) sense, but the following '> +force` would create a file named+forcepgpwould most likely exit with an error. So figure out how you're going t manage your pswds, (a simple solution ispwd="xyz"; pg -z "$pwd" ...` which is not a good security thing). . . . .