declare -f doesn't know that most keywords are valid function names:
$ function time () { :; }
$ declare -f time
time ()
{
:
}It should probably check if the name is if/for/time... before printing it. --- xoxo iza
declare -f doesn't know that most keywords are valid function names:
$ function time () { :; }
$ declare -f time
time ()
{
:
}It should probably check if the name is if/for/time... before printing it. --- xoxo iza