[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade debacle....



On Sat, 2014-05-03 at 17:19 +1000, Charlie wrote:
> The loaders.cache file was 4573, is that bytes? Whereas the former on
> was 4572 bytes or whatever it is.

ls -l does show bytes ls -hl does convert to better readable values.

One byte more likely is a space-sign more. Perhaps the 4572 bytes were
generated by --update-cache and one byte more, when you redirected
stdout.

You are aware that the ">" does redirect the standard output?

Try this:

[rocketmouse@archlinux Desktop]$ touch 1.txt 2.txt
[rocketmouse@archlinux Desktop]$ ls
1.txt  2.txt
[rocketmouse@archlinux Desktop]$ ls > 3.txt
[rocketmouse@archlinux Desktop]$ ls
1.txt  2.txt  3.txt
[rocketmouse@archlinux Desktop]$ cat 3.txt 
1.txt
2.txt
3.txt

So when you used --update-cache the executable generated the file
directly, while ">" redirected the output and a space or whatever at the
beginning or end might cause one byte more.


Reply to: