#!/bin/csh -f #+ # showkeywords -- list all DEIMOS keywords # # Purpose: # Displays the names and descriptions of all DEIMOS keywords # # Usage: # showkeywords # # Arguments: # none # # Output: # keyword list is printed on STDOUT # # Restrictions: # none # # Example: # 1) To list all DEIMOS keywords: # showkeywords #- # Modification history: # Date unknown ??? Original version # 2000-Jul-04 GDW Added description # 2002-Jun-06 GDW Adapted for DEIMOS #----------------------------------------------------------------------- foreach lib ( deiccd deimot deirot deifcs ) set biglib = `toupper $lib` printf "------------------------------------------------------------------------\n" printf " Keywords from the $biglib library\n" printf "------------------------------------------------------------------------\n" show -s $lib keywords | sed -e "s/^/$biglib./" | sort end