On Thu, 8 Feb 2001, Jerry Human wrote:

> Hi Gentlemen:
> 
> Would it be possible to write a script that would do this automatically
> for any new package install?
> 
> For instance, if the script was called "ump" you would type "ump
> <package name> and it would insert the package name into the command
> "tar -xzvf <package name>.tar.gz; cd <package name>; less README" in the
> appropriate places, execute and leave you in the README for that
> package. That would eliminate a lot of repetitivly typing long package
> names, eliminate typing mistakes, always use the same command
> eliminating the "I forgot to ..." and "I should have ..." mistakes, and
> always start the README file to be scanned before "corrupting" a new
> package with incorrect parameters.
> 

I don't know about streamlining the tarball installation, but I
recently put an alias line in my .profile:

alias rdocs='less `find . -exec file {} \; | grep -i "english
text" | cut -d: -f1`'

As for automating tarball installations, that's why they use rpm
or slackware uses 'installpkg' or Debian uses *.deb files...



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to