# lecture-units -- print names of all lecture units in a course # # SYNOPSIS: print on stdout the unit directory names form the Outline-units file # # # AUTHOR: Gary T. Leavens [ -n "$echo" ] && set -x USAGE='lecture-units' # no options allowed case "$1" in -*) echo "$USAGE" >&2 exit 2 ;; esac sed -n -e 's!^\*\** \([^A-Z].*\)!\1!p' Outline-units.txt