"Michael R. Jinks" wrote:

> One change I would make:
>
> Bret Hughes wrote:
>
> <snip>
>
> > #create list of files to extract
> > tmpfile="/tmp/instdocsonly.tmp"
>
> I would change this to:
>
> #create list of files to extract
> tmpfile=`mktemp /tmp/$0.XXXXXX` || ( echo "Could not create unique temp
> file" && exit 1 )
>
> WARNING: UNTESTED, and I'm famous for making goofy errors (perlisms in
> shell and vise versa), so use at your own risk.
>

Very cool, thanks.  I was not aware of mktemp but it looks like it fits
the bill perfectly.  This is really quite cool.  I had never heard of the
rpm2cpio command until Charles found it in Chuck's post.  It is amazing
what something as simple as a corroborative list can accomplish.

I will add this to the script as I use it.  I wonder if the bash list ever
got the cvs thing going?  Sigh... time to read up.  This is the only list
I try to keep current on day to day.

Bret



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

Reply via email to