docindex for current RHEL

Raymond Scheel raym0nds at yahoo.com
Wed Feb 6 09:45:51 PST 2008


Bob:

Thank you for the pointer to where docindex/bldindex is supposed to live.  After some poking around using that pointer as a reference I found a copy of the updated version tucked away on our (sporadically maintained) testbed machine.   Apparently the entire ./util/ tree was not installed on the (brand new) production server, which was why I didn't find it when I searched the production machine to see if we already had a copy when I was asked to look into this... 

I had figured out I needed to be using od instead of hexdump in between first posting and my message making it through the filters to hit the list, but I was glad to get the confirmation on teh correct command line.  

As a note to anyone searching on this topic later that might have an issue, it does appear that the linux system function "which" will work in place of the supplied script "whence", though both have the same result currently.  

At this point I'm actually having more luck with the version of docindex I updated than the newer one (and have not touched bldindex yet).  I'm still poking to see if those issues are just path strangeness from the way we have everything shotgunned and pulled back together where KISS is the best approach or if there is a good long-term reason to fix things in the environment so the "stock" updated version works.

Thanks,  
 
Ray Scheel                          http://ScheelMedia.com
Phone: 936-662-5465                61 Whispering Pine
Fax: 928-438-7608      Huntsville, TX 77320-1663
------------------------------
Date: 
Tue, 
5 
Feb 
2008 
14:47:06 
-0500
From: 
Bob 
Stockler 
<bob at trebor.iglou.com>
Subject: 
Re: 
docindex 
for 
current 
RHEL
To: 
filepro-list at lists.celestial.com
Message-ID: 
<20080205194706.GA12816 at trebor.iglou.com>
Content-Type: 
text/plain; 
charset=us-ascii

Raymond 
Scheel 
wrote 
(on 
Tue, 
Feb 
05, 
2008 
at 
09:59:38AM 
-0800):

| 
First, 
is 
there 
a 
version 
of 
docindex/bldindex 
that 
someone 
has 
already
| 
updated 
to 
work 
on 
'current" 
versions 
of 
Redhat? 
If 
so, 
just 
a 
pointer
| 
and 
ignore 
the 
rest 
of 
this.
| 
| 
If 
not, 
I'm 
working 
on 
automating 
index 
rebuilds 
using 
the
| 
docindex 
/ 
bldindex 
scripts 
available 
for 
download.  
 
I 
am 
pretty 
close
| 
(I 
get 
output 
now 
that 
I've 
turned 
"whence" 
into 
"which" 
and 
"#typeset
| 
-u 
PFINDX" 
into 
"declare 
PFINDX") 
, 
but 
think 
where 
I 
am 
stumped 
is 
on
| 
on 
translating 
the 
SCO 
"hd" 
command 
into 
the 
Redhat 
"hexdum" 
near-equivalent.
| 
| 
# 
get 
the 
full 
pathname 
of 
'hd' 
into 
the 
command 
we'll 
be 
using:
| 
#CMD="$(which 
hd) 
-bda 
-n 
140 
"
| 
CMD="$(which 
hexdump) 
-c 
-n 
140 
"

I 
had 
long 
ago 
changed 
it 
in 
my 
script 
to:

  
CMD=" 
$(whence 
od) 
-t 
u1 
-A 
d 
-N 
140 
"

| 
Thanks 
in 
advance

If 
you 
have 
filePro 
5.0.06 
or 
later 
(including 
5.6.x), 
look 
in
$PFPROG/fp/util/bin.  
There 
you'll 
find 
docindex 
and 
bldindex
scripts 
that 
Jerry 
Raines 
reworked 
to 
run 
on 
Linux.  
Read 
his
comments 
at 
the 
top 
of 
each 
of 
them.

Bob

-- 
Bob 
Stockler 
+-+ 
bob at trebor.iglou.com 
+-+ 
http://members.iglou.com/trebor





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the Filepro-list mailing list