#!/bin/bash # Warning: this script must be provided with a parameter !!! # $1 - name of the current page for which menu will be generated # Check the returned value for errors! case $1 in index|people|machines);; *) echo "ERRRRRRRROR in $0"; exit 0 ;; esac echo '
Sable Home
'
if [ "$1" = "index" ]; then
echo 'Sable-UQAM
'
else
echo 'Sable-UQAM
'
fi
#if [ "$1" = "people" ]; then
# echo ' People
'
#else
# echo ' People
'
#fi
if [ "$1" = "machines" ]; then
echo ' Machines
'
else
echo ' Machines
'
fi
echo 'Sable-McGill
People
Projects
Publications
Software
Internal
Links
Sable-UQAM Projects
SableVM
SableCC