updating @cb and @ub
Kenneth Brody
kenbrody at bestweb.net
Fri Dec 22 16:09:28 PST 2006
Quoting Fairlight (Fri, 22 Dec 2006 13:57:40 -0500):
> In the relative spacial/temporal region of
> Fri, Dec 22, 2006 at 11:38:22AM -0500, Kenneth Brody achieved the
> spontaneous
> generation of the following:
> > Quoting VL (Fri, 22 Dec 2006 08:49:59 -0600):
> > [...]
> > > What is the format of the key and data files? How would I go about
> > > updating them with perl? No indexes on @cb or @ub.
> >
> > http://www.fptech.com/Support/fpplustp.shtml
>
> Which omits some very important data. Namely, how are you storing the
> uid and the date over multiple bytes?
Native byte order.
> I've tried both LSB and MSB, and
> neither comes out to the right solution on the uid.
Perhaps you're on a VAX? :-)
> Example: I have (in less) <E7>^C for my uid bytes. Converted, that's
> \347 and \003 in octal (which was the easiest representation for /bin/
> echo to print out, and the fastest to work with in perl because you can
> just quote escape it.
>
> Converted, the closest I got was 823. The actual uid is 999.
You converted it wrong. 0x3E7 = 999.
> How are these stored? A little 2-3 line C snippet would be beneficial,
> as I'm mathematically challenged. :)
>
> # Here's what I tried...
[...snip Perl script...]
Try this:
$ bc <<EOF
ibase=16
3E7
EOF
[...]
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list