From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1012a6,bdc09f67abf4aaf5 X-Google-Attributes: gid1012a6,public X-Google-Thread: 1020c6,bdc09f67abf4aaf5 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,bdc09f67abf4aaf5 X-Google-Attributes: gidfee84,public From: "Mike Fagan" Subject: Re: grep command Date: 1999/10/12 Message-ID: <7u067u$j9l$1@news3.infoave.net>#1/1 X-Deja-AN: 535957744 References: <3803772b.5152184@192.9.200.16> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@news3.infoave.net X-Trace: news3.infoave.net 939760702 19765 165.166.145.36 (12 Oct 1999 20:38:22 GMT) Organization: Info Avenue Internet Services X-MSMail-Priority: Normal NNTP-Posting-Date: 12 Oct 1999 20:38:22 GMT Newsgroups: comp.unix.shell,comp.unix.osf.osf1,comp.unix.admin John Allen wrote in message news:3803772b.5152184@192.9.200.16... > Hi: > > I use the -f qualifier in grep alot. It allows you to use a list to > grep for expressions in a file(s). Eg, > > grep -f list.dat file.dat > > I'm finding with my DEC(COMPAQ) V4.0e version of unix that the -f list > file is limited to 400 records; otherwise, if that is exceeded, you > get a 'list too large' message. > > Is there anything which I can set to enlarge that 400 threshold; or, > is there a workaround? This is a problem we had to work on with our DNS server that has more than 6000 files that we often have to search through to find information. Try something along the lines of this: ls * | xargs grep I may not have the exact command right - do a man on xargs for more information. Mike