On Thursday, August 1, 2002, at 01:34 AM, Martin Costabel wrote:

> Justin C. Walker wrote:
> []
>> versions?  The '/usr/bin' versions appear to have showed up in a 
>> developer tools install (but I can't figure out how to tell which one).
>
> I think in every one.
>
> For cases like this, I am using a little 3 line shell script "grepbom" 
> that sits in $HOME/bin/:
>
> martinc% cat ~/bin/grepbom
> #!/bin/sh
> [ -z $1 ] && exec echo "usage: grepbom REGEXP"
> for BOM in `find /Library/Receipts/ -name \*.bom` ; do  CR=1; echo 
> -n "." ; lsbom -p fST $BOM |grep $1 && printf "   ====> %s\n\n" $BOM && 
> CR=0; done
> [ ${CR} -gt 0 ] &&  printf "\n"

Cool!  It has one problem, though: embedded spaces in the package name 
cause it some tsuris.  This can probably be worked out by someone with 
some higher-plane understanding of this stuff (and even less of a life 
than I have :-}).

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   When LuteFisk is outlawed
                                        |   Only outlaws will have
                                        |       LuteFisk
*--------------------------------------*-------------------------------*



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to