Megatest

gen-list-of-functions.sh at [b28d552c97]
Login

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


#!/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' '