pedit

Hi, can anyone tell me how to view a binary file in hexadecimal using pedit?
I could do it in vedit, but unfortunately it is not available in 6.2.1.

Johannes <Jsukamtoh@infolink.co.id> wrote:

Hi, can anyone tell me how to view a binary file in hexadecimal using pedit?
I could do it in vedit, but unfortunately it is not available in 6.2.1.

Do you need to edit it, or only view it?

hd will do a hex dump of a binary file, combine with less, and you can
view one.

e.g.: hd /bin/ls | less

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David Gibbs <dagibbs@qnx.com> wrote:
DG > Johannes <Jsukamtoh@infolink.co.id> wrote:

Hi, can anyone tell me how to view a binary file in hexadecimal using pedit?
I could do it in vedit, but unfortunately it is not available in 6.2.1.

DG > Do you need to edit it, or only view it?

DG > hd will do a hex dump of a binary file, combine with less, and you can
DG > view one.

DG > e.g.: hd /bin/ls | less

DG > -David
DG > –
DG > QNX Training Services
DG > http://www.qnx.com/support/training/
DG > Please followup in this newsgroup if you have further questions.

Look for spatch.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net