{"id":8745,"date":"2017-09-24T17:08:03","date_gmt":"2017-09-24T21:08:03","guid":{"rendered":"http:\/\/blog.carlrobitaille.org\/2017\/09\/24\/want-to-find-the-definition-of-a-bash-function-location-of-file-where-it-is-defined-try\/"},"modified":"2018-12-03T22:26:56","modified_gmt":"2018-12-04T03:26:56","slug":"how-to-find-bash-shell-function-source-code-on-linux-unix","status":"publish","type":"post","link":"https:\/\/blog.carlrobitaille.org\/?p=8745","title":{"rendered":"How to find bash shell function source code on Linux\/Unix"},"content":{"rendered":"<p><b>Google+ reshared post<\/b><\/p>\n<blockquote><p>Want to find the definition of a bash function? Location of file where it is defined? Try<br \/>declare -f foo<br \/>shopt -s extdebug<br \/>declare -F foo<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.cyberciti.biz\/faq\/how-to-find-bash-shell-function-source-code-on-linuxunix\/\" rel=\"noopener\" target=\"_blank\">How to find bash shell function source code on Linux\/Unix<\/a><\/p>\n<p>Import\u00e9 de <a href=\"https:\/\/plus.google.com\/104239776541827516598\/posts\/5mmzfKUbgG1\">Google+<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google+ reshared post Want to find the definition of a bash function? Location of file where it is defined? Trydeclare -f fooshopt -s extdebugdeclare -F foo How to find bash shell function source code on Linux\/Unix Import\u00e9 de Google+<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8745","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/8745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8745"}],"version-history":[{"count":1,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/8745\/revisions"}],"predecessor-version":[{"id":8775,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/8745\/revisions\/8775"}],"wp:attachment":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}