This is a super tip, thanks Ben!

Indeed grep is powerful, it sure beats Sherlock's find-by-content for searching fink info files.

I added this one to my .cshrc (note the \ before the !s)
alias show 'grep \!:1 -rI \!:2 | less'

.bashrc would probably need:
alias show='grep \!:1 -rI \!:2 | less'

Then you can do:
show ranlib /sw/fink/dists/unstable/main/finkinfo/

Carsten

On Thursday, October 24, 2002, at 02:57 pm, Ben Hines wrote:

On Thursday, October 24, 2002, at 03:32  AM, Ruotger.Skupin wrote:

Hello,

in a porting project from Linux I need to add a call to ranlib in the build system. Can anybody point me to a package where this has been done as an example?

grep is your friend

grep ranlib -rI /sw/fink/dists/unstable/main/finkinfo/ | more

-Ben


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to