My Location Message Board E-Mail
pcbypaul
pc software, repair
      return to
    Homepage
bg

 
WP Clipart

Not Just for Geeks Anymore
Scripts 'N Tips
Xterm Use
Firefox Updating
update Java
Firefox Keys
Themes offline
Start Firefox
Kill Firefox
Firefox 16x16
Firefox Problems
Compiling
Compile wxPython
Disk Usage
CD Player
cdArray
Find-Installed
Backgrounds
Gimp Splash
Links
LinuxPackages
IceWalkers
Freshmeat
Linux Today
Slashdot



Find-Installed

  This script is for use with Slackware. If you are looking for a file on your system (a dependency, perhaps?) this will find out if it is listed in your package installation logs (/var/log/packages) -- popping up a textbox that will list any package that installed the file as well as the path to that file.

It uses grep and sed (always installed) and Xdialog (also on Slackware already.) So all you really have to do is drop the script somewhere in your path, and plug small graphics into /usr/share/pixmaps

The package for download below will do these things for you, and should work with just about any version of slackware. If not, please let me know.


Here it is in my menu




Opened with a file to look for . . .





Results





If you enter nothing or too small a filename





For you "bashers" out there, the line that produces the output is:

grep -R "$input" /var/log/packages | sed -e 's/\/var\/log\/packages\//PACKAGE= /' -e 's/:/   FILE= \//' >> $HOME/FIND_INSTALLED_OUTPUT




Download

Slackware Package
File size: 42k
MD5SUM: 81c0615c3069d633e2e276e385e532c7

find_installed-1.0-noarch-1ABS.tgz


Tux Pages created and served by Linux Graphics made/edited by the Gimp   Created with the Gimp byPaul