Mark Carmichael wrote:
> 
> 
> Seems worthwhile give the "wc -l" approach; I'd probably try
> 
>     if ypwhich -m $map 2>&1 >/dev/null; then
> 
> myself, but I don't know enough to be confident that there aren't lots of
> empty maps being served in the world.  I also don't know whether the exit
> status of 'ypwhich' can be trusted across likely implementations/versions.
> So, keeping with the check-ypcat-stdout approach:
> 

Actually I think an empty map ought to count.

        -hpa

Reply via email to