From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-12 12:22:26 PST Xref: gmd.de comp.os.vms:32474 comp.sys.dec:10798 comp.sys.hp:26115 Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.hp Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!mcsun!dxcern!danpop From: danpop@cernapo.cern.ch (Dan Pop) Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: <1993Oct12.181029.4560@dxcern.cern.ch> Sender: danpop@dxcern.cern.ch (Dan Pop) Organization: CERN European Lab for Particle Physics References: <1993Sep23.161016.12926@vms.eurokom.ie> <296kj3INNokp@gap.caltech.edu> <1993Oct9.131708.18406@alpha.montagar.com>,<55190@sdcc12.ucsd.edu> <29didbINNcli@gap.caltech.edu> <1993Oct12.115529.21131@inmos.co.uk> Date: Tue, 12 Oct 1993 18:10:29 GMT In pawlak@zeubac.desy.de (Jerzy Michal Pawlak) writes: >In article <1993Oct12.115529.21131@inmos.co.uk>, hughm@iremember.inmos.co.uk (Hugh McIntyre) writes: >> >>BTW: I know about rounding errors caused by files only using part of the final >> block, which this doesn't tell you about. But it does give you extra info >> such as the number of lines which may be useful if you want to know how >> many pages of printout would be needed to print them out (for example). >> >Yeah, it doesn't give you what you need - but gives you something else >instead. Nice. ;-) Fortunately VMS follows a different design philosophy. >I want to know how much disk space is used by these files - so the 'last >unfilled blocks' are important for me. The 'last unfilled blocks' simply do not exist in Unix. The reference was to the fact that the last block of the file is only partially used. > >Does wc also count the end-of-line characters? (I don't know, just asking...) >If not - it's even less similar to what I want... End of line characters are counted, just like any other character: l3apollo6:~ 221> ls -l mbox -rw------- 1 danpop 20619 Apr 10 1993 mbox l3apollo6:~ 222> wc -c mbox 20619 mbox Dan -- Dan Pop CERN, L3 Experiment Email: danpop@cernapo.cern.ch Mail: CERN - PPE, Bat. 21 1-023, CH-1211 Geneve 23, Switzerland