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 07:22:10 PST Xref: gmd.de comp.os.vms:32551 comp.sys.dec:10842 comp.sys.hp:26163 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Date: 13 Oct 1993 14:07:58 GMT Organization: HST Wide Field/Planetary Camera Message-ID: <29h23uINNfr1@gap.caltech.edu> 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> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu 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 -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.