tag:blogger.com,1999:blog-9074088395935637281.post2481157003942012744..comments2023-11-02T05:39:04.737-05:00Comments on Rick Foos HowTo Blog: HowTo: Have Doxygen support Bash/Awk/Sed Script files.Anonymoushttp://www.blogger.com/profile/14367824362433235663noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-9074088395935637281.post-90936368907095326312018-10-06T01:49:05.907-05:002018-10-06T01:49:05.907-05:00White listing Doxygen lines with grep is an effect...White listing Doxygen lines with grep is an effective workaround. It keeps only lines starting with #///<br /><br />- EXTENSION_MAPPING = sh=C++<br />- FILTER_PATTERNS = "*.sh=\"grep ^#///\""<br /><br />There is no source parsing possible and all formating has to be done with Doxygen syntax.<br /><br />An improvment would be to replace filtered lines with empty lines instead of removing them. Doxygen provides source line references in its documentation<br />miknoreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-9581551956809197072015-07-08T16:40:32.732-05:002015-07-08T16:40:32.732-05:00Looks good. I'm looking to document some (sets...Looks good. I'm looking to document some (sets of) awk scripts, and this might work for me, too. While awk does have a "function" keyword to help identify them, initially I might just filter that keyword out. Not sure what to do with the "pattern recognition" rules yet. They are sort of like a chain of ifs or generalized switch/case selected by data record content. Has anyone else done awk script documentation with doxygen? I like the idea of using and adapting standard open source tools whenever possible.Anonymoushttps://www.blogger.com/profile/14762669301561298983noreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-87011727443740200702015-05-20T06:42:48.036-05:002015-05-20T06:42:48.036-05:00For the record, I'm maintaining a more complex...For the record, I'm maintaining a more complex doxygen filter for bash scripts. Don't hesitate to fill bug reports or feature request if you feel like to : https://github.com/Anvil/bash-doxygen/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-73305577669870764872015-05-09T16:20:53.182-05:002015-05-09T16:20:53.182-05:00Thanks for your valuable hints.
I'm working w...Thanks for your valuable hints.<br /><br />I'm working with: Doxyfile 1.8.9.1 and i needed to set:<br /><br />- EXTENSION_MAPPING = sh=C++<br /><br />too to get it producing comments.Anonymoushttps://www.blogger.com/profile/09902339951888838739noreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-14042238715299124512014-11-11T17:43:25.022-06:002014-11-11T17:43:25.022-06:00That's a great lead to adapt any kind of files...That's a great lead to adapt any kind of files being documented using Doxygen. I've been using your code to create an answer at StackOverflow regarding documentation of makefile templates/snippets: http://stackoverflow.com/questions/26874238/can-doxygen-be-used-to-document-makefile-templates-and-include-mk-file-interfa<br />Ein Bloghttps://www.blogger.com/profile/14736675083243834776noreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-21024446017539448522013-10-31T10:46:32.193-05:002013-10-31T10:46:32.193-05:00I am having trouble with Doxygen parsing a bash sc...I am having trouble with Doxygen parsing a bash script. I have a few assigns at the top, like x=1 then y=1 ... it can't parse out y as a separate variable. Is there something I am missing in my config? or is there some doxygen comment to add?chieflbmhttps://www.blogger.com/profile/02390044683471775560noreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-53241446185928382982013-10-09T03:46:25.236-05:002013-10-09T03:46:25.236-05:00Hey,
first thanks a lot, the following little adds...Hey,<br />first thanks a lot, the following little adds completeness of code-display:<br />INPUT_FILTER = "sed -e 's|##\(.*\)$|##\1 //!\1|'"<br /><br />Arno-Can UestuensoezAnonymoushttps://www.blogger.com/profile/10323062611651453001noreply@blogger.comtag:blogger.com,1999:blog-9074088395935637281.post-68947615279870584632012-04-03T16:31:59.291-05:002012-04-03T16:31:59.291-05:00Thanks a lot dude! Just enough to get there!Thanks a lot dude! Just enough to get there!Anonymousnoreply@blogger.com