#! /bin/bash
# Last edited on 2025-01-02 17:57:54 by stolfi

PROG_NAME=${0##*/}
PROG_DESC="list all source-like files under given directories"
PROG_HELP=(
  "${PROG_NAME} [ -notheses ] {DIR}.."
)
PROG_INFO=(
  "\nNAME"
  "\n  ${PROG_NAME} - ${PROG_DESC}."
  "\n"
  "\nSYNOPSIS"
  "\n  ${PROG_HELP[@]}"
  "\n"
  "\nDESCRIPTION"
  "\n  Runs {find_all_sources.sh} (q.v.) with given arguments and then writes the file \".all-sources\" to standard output." \
  "\n" \
  "\nSEE ALSO"
  "\n  find(1)"
  "\nAUTHOR"
  "\n  Created 2025-01-02 by Jorge Stolfi, Unicamp"
)

find_all_sources.sh "$@"
cat .all-sources
