[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: grep



On Sun, 15 Mar 1998, Harald Koenig wrote:

> On Mar 14, Steven Filling wrote:
> 
> > Happy weekend all
> > 
> > Anyone having trouble with grep/egrep on 5.0?  I can't seem to get
> > them to execute, although rgrep works just dandy.  
> > 
> > It is present, as indicated by:
> > 
> > [steven@dystopia steven]$ ll /usr/bin/grep
> > -rwxr-xr-x   2 root     root        90128 Aug 13  1996 /usr/bin/grep
>                                             ^^^^^^^^^^^^
> 
> hmm, August 1996 looks _pretty_ old for a Red Hat 5.0 binary!
> 
> I'd verify the installation using
> 
> 	rpm -qif /usr/bin/grep
> 	rpm -Vf /usr/bin/grep
> 
> and check which library is needed for grep using
> 
> 	file /usr/bin/grep
> 	ldd /usr/bin/grep
> 
> > But when I attempt to execute, I get:
> > 
> > [steven@dystopia steven]$ /usr/bin/grep
> > bash: /usr/bin/grep: No such file or directory

note that that on a missing file it would give:

[hvdkooij@hvdkooij hvdkooij]$ lala
bash: lala: command not found

So I assume this grep thing is looking for a library that it can't find.

> > So - what obvious thing have I overlooked?
> 
> this isn't a clean new RH 5.0 installation, is it ?

I do think it is some nasty leftover that should not be there.

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []