This might fail based on which `grep` they have in their path. Take a look at `MANPATH=/opt/freeware/man man grep`. `-p` is not a valid option for the grep in `grep-2.5.1-1.aix4.3.ppc.rpm`.