Megatest

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

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


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