Megatest

gen-list-of-functions.sh at [13061daea9]
Login

File utils/gen-list-of-functions.sh artifact a5fa0df8c9 part of check-in 13061daea9


#!/bin/bash

# extract a list of functions from a .scm file

INFILE=$1

grep -E '^\(define\s+\(' $INFILE|cut -f3 -d\(|tr ')' ' '|cut -f1 -d' '