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: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-10-13 09:57:13 PST Xref: gmd.de comp.os.vms:32564 comp.sys.dec:10846 comp.sys.hp:26175 Path: gmd.de!xlink.net!rz.uni-karlsruhe.de!uni-heidelberg!embl-heidelberg.de!omond From: omond@embl-heidelberg.de (Roy Omond) Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: <1993Oct13.170157.121316@embl-heidelberg.de> Date: 13 Oct 93 17:01:57 +0100 References: <1993Sep23.161016.12926@vms.eurokom.ie> <296kj3INNokp@gap.caltech.edu> <29h23uINNfr1@gap.caltech.edu> Organization: EMBL, European Molecular Biology Laboratory In article <29h23uINNfr1@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: > In article <1993Oct12.115529.21131@inmos.co.uk>, > hughm@iremember.inmos.co.uk (Hugh McIntyre) writes: > =In article <29didbINNcli@gap.caltech.edu>, > carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: > =|> How about if you want the total space taken up by all the files with names of > =|> the form *.com? > = > = wc *.com > = > =This gives the number of lines, words, and characters in all files of the form > ="*.com" with a total at the end. If you really object to being told the number > =of lines and words, you can use "wc -c *.com" to only count characters. > > I see. Read the entire contents of every single file in the list (or does wc > have a special case for when it's given just the -c option since it can use > stat to get this information); oh, and what do I do about the fact that the > system responds with: > /usr/ucb/wc: arg list too long Not only that, Carl, but in the case where it doesn't hit the "arg list too long" bug, it causes each file to be "touched" which makes a nonsense of any attempt to track usage of files. Sheesh ... this whole thing is getting verrrrry silly. Roy Omond System Manager etc. etc. European Molecular Biology Laboratory Heidelberg, Germany.