bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

declare -f produces non eval'able output


From: isabella parakiss
Subject: declare -f produces non eval'able output
Date: Thu, 13 Aug 2015 18:06:44 +0200
User-agent: mail v14.8.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]