Re: seek within a large file
From: Paul Lutus (nospam_at_nosite.zzz)
Date: 10/17/03
- Next message: Alan Connor: "Re: seek within a large file"
- Previous message: Eric Moors: "Re: seek within a large file"
- In reply to: Alan Connor: "Re: seek within a large file"
- Next in thread: Andy Baxter: "Re: seek within a large file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 17 Oct 2003 00:23:22 -0700
Alan Connor wrote:
< snip >
> So where did you get skip=1048576 then? How did you convert 1GB to that?
The prior poster didn't get 1048576 from either definition of "gigabyte":
http://www.hyperdictionary.com/dictionary/gigabyte
2^20 = 1048576 (the old meaning of "megabyte", and see below), but
one gigabyte = either 10^9 (1,000,000,000) or 2^30 (1,073,741,824).
There are a bunch of ways to get these values in a script, based on
arbitrary input units.
Also see:
$ units gigabyte
Definition: 1e9 byte = 8e+09 bit
$ units megabyte
Definition: 1e6 byte = 8000000 bit
These definitions changed only recently.
-- Paul Lutus http://www.arachnoid.com
- Next message: Alan Connor: "Re: seek within a large file"
- Previous message: Eric Moors: "Re: seek within a large file"
- In reply to: Alan Connor: "Re: seek within a large file"
- Next in thread: Andy Baxter: "Re: seek within a large file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|