pedit

bridged with qdn.public.qnxrtp.newuser
Post Reply
Johannes

pedit

Post by Johannes » Tue Aug 12, 2003 1:43 pm

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.

David Gibbs

Re: pedit

Post by David Gibbs » Tue Aug 12, 2003 2:59 pm

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.

Bill Caroselli

Re: pedit

Post by Bill Caroselli » Tue Aug 12, 2003 3:53 pm

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

Post Reply

Return to “qdn.public.qnxrtp.newuser”