SUMMARY fgrep problems

From: Roger D Mcgraw, Jr (roger@ptac.com)
Date: Fri Jan 28 2000 - 09:57:06 CST


> -----Original Message-----
> From: Roger D Mcgraw, Jr [SMTP:roger@ptac.com]
> Sent: Monday, January 24, 2000 10:58 AM
> To: sun-managers
> Subject: fgrep problems
>
> Hi all,
> I am having some trouble with a piece of software... I have
> traced the problem down to a system call that looks as follows:
> (This works for a while, but then quits working....)
>
> fgrep -v -x -f match rilist
>
> I found why it sometimes works....Its the length of the lists...
> When I type the above in from command line i get :
>
> wordlist too large
>
>
> So, Is there some sort of environment variables I can set to
> make fgrep
> able to handle larger lists?
> --
>

Apparently fgrep in /usr/bin has been broken for quite a while across
many solaris versions.
  I found multiple bug reports with no patches. The good news is that
/usr/xpg4/bin/fgrep works absolutly fine.
Therefore the fix was as follows:
alias fgrep /usr/xpg4/bin/fgrep

-- 
                                 Roger McGraw
 _______________________________________________________
|        _|_|_|   _|_|_|_|_|    _|_|     _|_|_|         |
|        _|   _|      _|       _|  _|   _|              |
|        _|_|_|       _|      _|_|_|_|  _|              |
|        _|           _|      _|    _|  _|              |
|        _|           _|      _|    _|   _|_|_|         |
|       Precast Technical Assistance Corporation        |
|_______________________________________________________|
|  PTAC Consulting Engineers |  Roger McGraw, Jr., EIT  |
|  124 E Wright St. Suite C  |  Tel.: (850) 432-8446    |
|  Pensacola, Fl 32501       |  Fax.: (850) 432-9875    |
|                            |  EMail: roger@ptac.com   |
|_______________________________________________________|




This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT