Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!psuvax1!uwm.edu!cs.utexas.edu!uunet!ittc!fpb From: fpb@ittc.wec.com (Frank P. Bresz) Newsgroups: comp.unix.questions Subject: Re: What's wrong with this Bourne shell script? Message-ID: Date: 13 Aug 90 23:11:08 GMT References: <1990Aug6.172225.20319@iwarp.intel.com> <850@jonlab.UUCP> <9116@jpl-devvax.JPL.NASA.GOV> <1474@chinacat.Unicom.COM> Sender: fpb@ittc.wec.com Reply-To: fbresz@ittc.wec.com Organization: Westinghouse, ITTC, Pgh, PA. Lines: 23 In-reply-to: chip@chinacat.Unicom.COM's message of 12 Aug 90 20:47:33 GMT In article <1474@chinacat.Unicom.COM> chip@chinacat.Unicom.COM (Chip Rosenthal) writes: >If you snarfed the "stat" program I posted to alt.sources recently, >I'd suggest: > echo 0`stat -s * | sed -e 's/.*:/+/'` | bc >or if you have Jon's addcol, even simpler: > stat -s * | addcol -2 Where is Jon's addcol. I tried to write one a while back and kept screwing it up. I would like to see a working version. -- Frank P. Bresz }*{ ITTC Network Administrator +--------------------+ |fbresz@ittc.wec.com | My opinions are my own, I'm not paid |uunet!ittc!fbresz | enough to make an official statement |(412)733-6749 | +-----------------------------------+ |Fax: (412)733-6444 | | THIS SPACE FOR SALE!!! | +--------------------+ +-----------------------------------+