Adds support for TAGS in noweb files. I really don't know whether the above is complete or not.
15 lines
162 B
Bash
Executable file
15 lines
162 B
Bash
Executable file
#!/bin/sh
|
|
usage()
|
|
{
|
|
printf 'usage: %s [file.lisp]\n' $0
|
|
exit 1
|
|
}
|
|
|
|
sed -E '/^\(defun |\(defmacro /{
|
|
i\
|
|
|
|
}' "$@" | \
|
|
sed '/^[ \t]*$/{
|
|
N
|
|
/^[ \t]*\n$/D
|
|
}'
|