Tell me why

Tags:

I have written a dash script, dwhy, that tells me why each of the files in my Debian computer is in my Debian computer.

I have also written a sort of manual explaining how to interpret it. You can browse and download it from: http://goo.gl/1wpwO. It is also attached to this page.

You can clone or download the sources from github: https://github.com/ramoncasares/dwhy.
To execute dwhy don't forget doing "chmod +x dwhy", or just call it from dash, or even bash, this way:

$ dash dwhy which
which -> /usr/bin/which -> /bin/which
/bin/which: POSIX shell script text executable
Package: pool/main/d/debianutils/debianutils_3.4_amd64.deb [required]
debianutils (M) <- base system (D)

It means that which is a shell script in package debianutils that was installed by Debian (D) as part of the base system.

I hope it can help some of you!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Tell me why

Nice job; a handy script.

And huge kudos for documenting it profusely; this is a key that many overlook.

Re: Tell me why

Thank you!

Syndicate content