car@ramecs.UUCP (Chris Rende) (02/03/91)
I use the following commands to look for large news postings: cd /usr/spool/news/unix-pc/general find . -type f -size +3500c -print -exec fgrep Subject: {} \; However, the "find . -size +3500c" doesn't work on my 3b1. :-( NO files are EVER found - whether larger or smaller than 3500 characters. It does work on other machines... any idea what's wrong? I'm running a 2mb/67mb system with the 3.5 Foundation, 3.51m kernel, and 3.51 Development set. car. -- Christopher A. Rende Central Cartage (Nixdorf/Pyramid/SysVR2/BSD4.3) uunet!edsews!rphroy!trux!car Multics,DTSS,Unix,Shortwave,Scanners,UnixPC/3B1 trux!car@uunet.uu.net Minix 1.2,PC/XT,Mac+,TRS-80 Model I,1802 ELF trux!ramecs!car "I don't ever remember forgetting anything." - Chris Rende
bruce@sonyd1.Broadcast.Sony.COM (Bruce Lilly) (02/04/91)
In article <286@ramecs.UUCP> car@ramecs.UUCP (Chris Rende) writes: > >However, the "find . -size +3500c" doesn't work on my 3b1. :-( >NO files are EVER found - whether larger or smaller than 3500 characters. RTFM: find(1) ... -size n True if the file is n blocks long (512 bytes per block). ... -- Bruce Lilly, Product Manager, | bruce@Broadcast.Sony.COM Digital Television Tape Recording, | uunet!sonyusa!sonyd1!bruce Sony, 3 Paragon Drive, Montvale, | lilb@sony.compuserve.com (slow) NJ 07645-1735 | Telephone: 1(201)358-4161 | FAX: 1(201)358-4089
wilber@alice.att.com (rew) (02/05/91)
In article <286@ramecs.UUCP> car@ramecs.UUCP (Chris Rende) writes: >I use the following commands to look for large news postings: >find . -type f -size +3500c -print -exec fgrep Subject: {} \; >However, the "find . -size +3500c" doesn't work on my 3b1. :-( >NO files are EVER found - whether larger or smaller than 3500 characters. The manual says nothing about recognizing the 'c' suffix. For the 3b1, the size is always in 512 byte blocks. Bob Wilber wilber@homxb.att.com
dave@galaxia.Newport.RI.US (David H. Brierley) (02/06/91)
In article <286@ramecs.UUCP> car@ramecs.UUCP (Chris Rende) writes: >However, the "find . -size +3500c" doesn't work on my 3b1. :-( >NO files are EVER found - whether larger or smaller than 3500 characters. My copy of the manual specifically states that the argument to the -size option is a number of blocks, where a block is defined as 512 bytes. I suspect that being able to attach the letter c to the end of the number is either a BSD feature or a SunOS feature. To accomplish the intended task I would recommend using "-size +7" which is a little bit larger than 3500 bytes or "-size +6" which is a little bit smaller. -- David H. Brierley Home: dave@galaxia.newport.ri.us; Work: dhb@quahog.ssd.ray.com Send comp.sources.3b1 submissions to comp-sources-3b1@galaxia.newport.ri.us %% Can I be excused, my brain is full. **