Pieters bash scripts
Documentation for the bash scripts I have published
Loading...
Searching...
No Matches
Todo List
Member $C_SUCCESS
Shouldn´t this be 0?? if not add note.
Member analyse ()
Add error checking where applicable.
Member consume_until_keyword ()
handle parenthesis, if keyword is within the parenthesis it doesn't count.
File doxygen-bash-filter.sh

Review function documentation.

Add support for [[ regex without if.

Add support for "source <script>".

Add support for line continuation ("\" followed by newline). <p> <p>Add return type other than int if the function doesn't contain a return statement. (Also handle return void.) <p> <p>Count the newlines in multiline condition (when using heredocs) for linenumber in error messages. <p></dd> <dt> Member \_internalref doxygen-bash-filter_8sh#a38d99acc70a1d8fd8f94455743b2d237 "parse" ()</dt><dd> \anchor _todo000008 make this a switch for use during debugging? <p> \anchor _todo000009 why do we have an extra space between return and value? </dd> <dt> Member \_internalref doxygen-bash-filter_8sh#a860895936418960110f43b021798a13d "parse_command" ()</dt><dd> \anchor _todo000006 conditionally add the thing being piped as argument based on command line parameter. </dd> <dt> Member \_internalref doxygen-bash-filter_8sh#a1224d1e37e734bad7fbd6d755aeebe97 "parse_variable" ()</dt><dd> \anchor _todo000003 add support for global <p> \anchor _todo000004 how to handle this? Seems only interesting with regards to arguments which then get a reference instead of value. <p> \anchor _todo000005 Change name handling so a name of the shape "$name" (including the quotes is allowed. Quick fix now allows both " and $ everywhere in the name.

Member sanitize_assignment ($arg1)

When parsing, exclude trailing ;

Add check on value being * and insert default: instead.

Add check on value being multiple (using |) and insert "||" instead.

Add flag to write to file instead of stdout (for uses outside doxgen and debugging).

Add getopt.

Member sanitize_var ($arg1)
test this