Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] name clash, perl/tcl

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] name clash, perl/tcl
  • Date: Sun, 14 Nov 2004 03:18:17 -0500

Here's a one liner for you that'll list all non-directories which are in
more than one installed spell's install log:

while read -a LINE ; do
cat /var/log/sorcery/install/${LINE[0]}-${LINE[1]} ; done < <(gaze
installed | awk -F: '{print $1" "$4;}') | sort | uniq -d | while read
LINE ; do [ -d $LINE ] || echo $LINE ; done

If you want to know how many spells share the same file, you can add the
-c argument to the uniq command.

The plan is to have cleanse remove the file from the spell if a conflict
is found (after confirming with the SA first of course). Although we're
not exactly sure if this is a good idea, since the spell did indeed
install the file... Anyways, no has gotten around to doing it yet.

On Sat, 2004-13-11 at 19:18 -0600, Robin Cook wrote:
> There are quite a few spells that have conflicting man pages that I saw
> recently when running cleanse --fix. Would be nice to have the option
> for cleanse to output to a log file to track these kind of things down.
>
> CuZnDragon
> Robin Cook
>
>
> On Sat, 2004-11-13 at 17:10 -0800, Andrew wrote:
> > lfs solved this problem by moving tcl's Thread page to Tcl_Thread.3
> >
> > http://archives.linuxfromscratch.org/mail-archives/blfs-book/2004-February/007679.html
> > http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=628
> >
> > Im sure we could do the opposite for perl if we wanted to instead.
> >
> > -Andrew
> >
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page