#!/bin/sh
#----------------------------------------------------------------------------#
# .mw2_help_lg_com 
# V 1.1
# Not a regular system's macro : called by any system's macro in case
# of error in the syntax.
#----------------------------------------------------------------------------
# This file is part of the MegaWave2 system macros. 
# MegaWave2 is a "soft-publication" for the scientific community. It has
# been developed for research purposes and it comes without any warranty.
# The last version is available at http://www.cmla.ens-cachan.fr/Cmla/Megawave
# CMLA, Ecole Normale Superieure de Cachan, 61 av. du President Wilson,
#       94235 Cachan cedex, France. Email: megawave@cmla.ens-cachan.fr 
#-----------------------------------------------------------------------------

# If MW_CHECK_HIDDEN is set, check for hidden macro
if [ "$MW_CHECK_HIDDEN" = "1" ]; then
  mwwhere -bin $_Prog > /dev/null
  if [ $? -eq 2 ]; then
    echo "MegaWave2 warning ($_Prog) : macro of same name hidden by this one !" 1>&2
  fi
fi

# Output the header and usage
echo '' 1>&2
echo "   \\\\\ ${_Prog=(unknown)} /// Vers ${_Vers=(unknown)}" 1>&2

d=`dirname $0`
if [ "$d" = "$MEGAWAVE2/sys/shell" ]; then
 mwecho -n "   System's"
else
 mwecho -n "   User's"
fi
echo " MegaWave2 Macro" 1>&2
echo "   Author(s) : ${_Auth=(unknown)}. " 1>&2
year=`date '+%Y'`
echo "   MegaWave2 : (C) 1988-$year CMLA, ENS Cachan, 94235 Cachan cedex." 1>&2
echo "   Last version at http://www.cmla.ens-cachan.fr/Cmla/Megawave" 1>&2

echo '' 1>&2
echo "Usage : ${_Prog=(unknown)} ${_Usage=(unknown)}" 1>&2
echo '' 1>&2
echo "   ${_Func=(function unknown)}" 1>&2
echo '' 1>&2

exit 1


