Re: Linux dpkg Software Report
- From: Tim Frost <timfrost@xxxxxxxxxx>
- Date: Thu, 24 Dec 2009 22:35:04 +1300
On Tue, 2009-12-22 at 21:25 -0800, Ray Parrish wrote:
Hello,
I hope I won't get flamed for this, but I have just completed my most
ambitious script to date, and have completed the Linux dpkg Software
Report script which takes output from dpkg, and formats it into html
pages sorted by package section, such as Games, Editors, etc... and also
generates an alphabetical index to the packages.
Nice effort.
One issue with the script as written is that it MUST be invoked with an
absolute path name (i.e,
"/home/tim/bin/SoftwareReport/LinuxdpkgSoftwareReport.sh", rather than
"LinuxdpkgSoftwareReport.sh" or
"./bin/SoftwareReport/LinuxdpkgSoftwareReport.sh" - which I tried
first). This is used to:
- locate support scripts
- determine where to write the output files
Ideally, the program should be able to locate itself, and then derive
the location of the support scripts, based on its location.
It should also use the user's preferred temp directory (or /tmp
or /var/tmp), rather than writing files to a directory under it's
install location.
This allows an admin to install the scripts in a system directory such
as /usr/bin, without needing to compromise system security.
I will see what I can do about these issues, and feed the results back.
All web urls, ftp urls, and emails in the dpkg output have been
converted to clickable links, and there are links to each package's
installed files lists, and configuration files lists, as well as any
index.html files in that package's /usr/share/doc/packagename folders.
I've released it as open source, and it is available at -
<http://www.rayslinks.com/LinuxdpkgSoftwareReport.html>
There is also a sample output set from the script available for perusal
linked on that page.
Sorry if you consider this spam, it's not a technical question, but an
announcement of something I think could help some people learn their
systems easier.
Later, Ray Parrish
--
The Future of Technology.
http://www.rayslinks.com/The%20Future%20of%20Technology.html
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.
http://www.writingsoftheschizophrenic.com
Tim
--
Tim Frost <timfrost@xxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Linux dpkg Software Report
- From: Werner Schram
- Re: Linux dpkg Software Report
- From: Ray Parrish
- Re: Linux dpkg Software Report
- From: Christian Schult
- Re: Linux dpkg Software Report
- References:
- Linux dpkg Software Report
- From: Ray Parrish
- Linux dpkg Software Report
- Prev by Date: Re: Ubuntu 9.10 How to set 96 dpi resolution for X sessions?
- Next by Date: Hi
- Previous by thread: Re: Linux dpkg Software Report
- Next by thread: Re: Linux dpkg Software Report
- Index(es):
Relevant Pages
|