guile-user
[Top][All Lists]
Advanced

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

Re: Newbie seeks guiding hands.


From: Gary Benson
Subject: Re: Newbie seeks guiding hands.
Date: Tue, 20 Mar 2001 09:17:57 +0000 (GMT)

On 15 Mar 2001, Gary Benson wrote:

> Can anyone suggest any other GNOME programs that use Guile?

I've actually solved this one by way of a little scripting. This little
number finds every program on your system that is linked to
guile. Enjoy...

--- START CUTTING HERE ---------------------------
#!/bin/sh

for path in `echo $PATH | sed 's/:/ /g'`
do
    for file in $path/*
    do
        if ( file $file | grep -q executable )
        then
            if ( ldd $file | grep -q guile )
            then
                echo $file
            fi
        fi
    done
done
--- STOP CUTTING HERE ----------------------------

[ address@hidden ][ PGP 85A8F78B ][ http://inauspicious.org/ ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]