1752716 Members
5662 Online
108789 Solutions
New Discussion юеВ

alternative to xxd

 
zauer
Advisor

alternative to xxd

im looking for another way to convert binary file to a txt file exactly like what xxd do.
we are talking about old solaris system.
so bash or perl will be preferable
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: alternative to xxd

If you want a program which is "exactly like"
"xxd", then you may wish to use "xxd". The
source code seems to be available. If all
you want is a dump program which comes with
the OS, then try "od".

> [...] old solaris system.

Even old Solaris systems have "uname -a".
zauer
Advisor

Re: alternative to xxd

when i said "old" i meant solaris 8 and 9
and there is a really really good reason why i cant use xxd (or install one)
thanks for telling me that source code seems to be available ;)
and yesss uname -a works fine on solaris 8.


Steven Schweda
Honored Contributor

Re: alternative to xxd

> when i said "old" i meant solaris 8 and 9

So foolish of me not to know that.

> and there is a really really good reason
> why i cant use xxd (or install one)

It must be good if it's a secret.

> thanks for telling me [...]

Glad to help.

> and yesss uname -a works fine on solaris 8.

I'm not amazed. Are you?

> [...] bash or perl will be preferable

Did you try anything so non-obvious as, say,
a Google search for
xxd perl
? I did. It seemed easy.

http://search.cpan.org/src/POLETTIX/