Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'block.': 0.16; 'emanuele': 0.16; 'emits': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'bytes': 0.24; 'header:X-Complaints- To:1': 0.27; 'chris': 0.29; 'characters': 0.30; 'are.': 0.31; 'writes:': 0.31; 'file': 0.32; 'something': 0.35; 'there': 0.35; 'disk': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'space': 0.40; 'how': 0.40; 'che': 0.60; 'most': 0.60; 'full': 0.61; 'close': 0.67; 'smith': 0.68; 'article': 0.77; 'different.': 0.84; 'quando': 0.84; 'subject:Control': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lele Gaifax Subject: Re: Version Control Software Date: Sun, 16 Jun 2013 17:48:31 +0200 Organization: Nautilus Entertainments References: <98c13a55-dbf2-46a7-a2aa-8c5f052ff375@googlegroups.com> <2644d0de-9a81-41aa-b27a-cb4535964b58@googlegroups.com> <51BB8338.50006@davea.name> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Gmane-NNTP-Posting-Host: 151.62.75.33 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:mJaqbxVpXPGewmP/B5j07o/Axps= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371397725 news.xs4all.nl 15980 [2001:888:2000:d::a6]:38821 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48459 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: 8bit Roy Smith writes: > In article , > Chris Kwpolska Warrick wrote: > >> (I€™m using wc -c to count the bytes in all files there are. du is >> unaccurate with files smaller than 4096 bytes.) > > It's not that du is not accurate, it's that it's measuring something > different. It's measuring how much disk space the file is using. For > most files, that's the number of characters in the file rounded up to a > full block. I think “du -c” emits a number very close to “wc -c”. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929. --=-=-=--