... its size is reported as 20k in the file. read the contents of this file into memory, and check the size, it shows 13k!
Are you sure that 20k is really the file size, not the size it occupies on the disk (st_blocks)? Note that dd or ls -s reports that st_blocks size. You want the real size of the file (st_size) as reported by ls -l or wc -c.
In reply to Re: binary data metamorphosis?
by ambrus
in thread binary data metamorphosis?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |