implement means to learn about a functions source

This implements a way to use the `functions` command to perform
introspection to learn about the characteristics of a function. Such as
where it came from.

Fixes #3295
This commit is contained in:
Kurtis Rader
2017-01-09 22:49:33 -08:00
parent 2be1288cac
commit 2e38cf2a4b
8 changed files with 138 additions and 12 deletions

View File

@@ -55,6 +55,5 @@ or echo "Function name3a not found as expected"
echo Checking that the copied functions are identical other than the name
diff (functions name1 | psub) (functions name1a | psub)
diff (functions name3 | psub) (functions name3a | psub)
# The diff would cause us to exit with a non-zero status even if it produces
# the expected output.
exit 0