function get_ydbhelp,prefix
;
;+
;   Name: get_ydbhelp
;
;   Purpose: return one line descriptions about each input prefix
;
;   Calling Sequence:
;      help=get_ydbhelp(prefixs)
;
;  Calling Examples:
;      more,get_ydbhelp(['nar','fem','att'])
;
;   History:
;      15-Jun-1994 (SLF) - provide help for rd_ydbtap
;
;-
retval=strarr(n_elements(prefix) > 1)
if 1-data_chk(prefix,/string) then begin
   message,/info,"Need string input, returning,..."
endif else begin
   xpre=str_replace(prefix,'/','')		; in case pathname passed
   message,/info,'Reading YDB help file...'
   ydbdoc=rd_prefix_doc(header=header)   
   for i=0,n_elements(retval)-1 do begin
      whichd = where(strupcase(xpre(i)) eq strupcase(ydbdoc.prefix),cnt)
      if cnt gt 0 then retval(i)=ydbdoc(whichd(0)).descr
   endfor      
endelse

return,retval
end

