Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11342
| From | isabella parakiss <izaberina@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | declare -f produces non eval'able output |
| Date | 2015-08-13 18:06 +0200 |
| Message-ID | <mailman.8264.1439482071.904.bug-bash@gnu.org> (permalink) |
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
Back to gnu.bash.bug | Previous | Next | Find similar
declare -f produces non eval'able output isabella parakiss <izaberina@gmail.com> - 2015-08-13 18:06 +0200
csiph-web