Camm Maguire on Tue 29/02 15:26 -0500:
> Well then isn't this diff something like what you intend?  Wouldn't
> this make everyone happy?
>
> [...]
>
> +             if [ `ypcat -k $map 2>/dev/null | wc -l` -eq 0 ] ; then
> +                 map=`echo "$map" | sed -e 's/^auto_/auto./'`
> +             fi

That would take too long at large sites.  How about

+               if [ `ypcat -k $map 2>/dev/null | head | wc -l` -eq 0 ] ; then
+                   map=`echo "$map" | sed -e 's/^auto_/auto./'`
+               fi

besides what about when auto_home is just "+auto.home" ?

-- 
Scott McDermott, Questra Desktop and Network Services (QDN)
(716) 381-0292 x525
QDN service via web: http://qweb.web.roc.questra.com/srs/
QDN service via email: [EMAIL PROTECTED]

Reply via email to