Initial Commit
[packages] / xemacs-packages / hyperbole / smart-clib-sym
1 #!/bin/sh
2 # Check if there is a man page
3
4 # Copyright (C) 2006, 2007  Free Software Foundation, Inc.
5 #
6 # This file is part of Hyperbole
7 #
8 # Hyperbole is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3, or (at your option)
11 # any later version.
12 #
13 # Hyperbole is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with Hyperbole; see the file COPYING.  If not, write to the
20 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 # Boston, MA 02110-1301, USA.
22
23 man -w $1 >/dev/null 2>&1 
24 [ $? -ne 0 ]
25 result=$?
26 echo $result
27 exit $result
28