in reply to Re: Re: Unpack for VMS binary files
in thread Unpack for VMS binary files
In that case, there are probably endian differences. VMS is little endian and I think Solaris is big endian. Use 'V2 v12' (first V is capitalized, second is not) instead. That says two longs in VAX (little endian) order followed by 12 shorts in VAX order.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Unpack for VMS binary files
by maderman (Beadle) on Feb 19, 2003 at 04:36 UTC | |
by Elian (Parson) on Feb 19, 2003 at 17:31 UTC | |
by maderman (Beadle) on Feb 19, 2003 at 21:12 UTC | |
by pfaut (Priest) on Feb 19, 2003 at 22:44 UTC | |
by maderman (Beadle) on Feb 20, 2003 at 00:38 UTC | |
| |
by Elian (Parson) on Feb 20, 2003 at 15:04 UTC | |
by maderman (Beadle) on Feb 23, 2003 at 21:56 UTC | |
|