[PD] parse pdreceive in a unix shell script