Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C++ forcing unnecessary changes to C? Date: Tue, 22 Nov 2016 12:09:38 -0800 Organization: None to speak of Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="0025a28d334b2c37a4ed25218779b166"; logging-data="3353"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190WyQ0i6kZX8Y1EqHPnx5Y" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:/ZTG+foJy8EfcwqtomUga/oCoxs= sha1:SUPhBlTN5c0Ogvh8RJw3fSIPkME= Xref: csiph.com comp.lang.c:97304 Ian Collins writes: > On 11/23/16 07:14 AM, BartC wrote: >> On 22/11/2016 16:58, Keith Thompson wrote: >>> BartC writes: >>>> >>>> (Thanks. I've been wondering how to get 'ls' to give me a file size in >>>> bytes!) >>> >>> `man ls`? `ls --help`? >> >> (That doesn't help as it doesn't say anywhere how to display the byte >> size of a file. The closest is block size. You just have to /know/ that >> what you get with -l includes the byte size.) > > "-l > > Lists in long format, giving mode, ACL indication, > number of links, owner, group, size in bytes, " To be fair, neither "man ls" nor "ls --help" shows that information (at least for the GNU Coreutils version of the "ls" command). The full documentation is in the "info" document; the man page contains only a subset of that information, but there's a reference to the info manual *and* a web page at the bottom of the man page. Try "info ls" if the coreutils documentation is installed. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"