summaryrefslogtreecommitdiffstats
path: root/src/control.sh
Commit message (Collapse)AuthorAgeFilesLines
* parse_control(): Protect cat cmd from operands beginning with "-"Patrick McDermott2019-04-241-1/+1
|
* parse_control(): Drop field callback dead codePatrick McDermott2019-04-231-6/+0
| | | | | | The callback function is already called in the paragraph case in the loop, which also resets the field name to the null string, making this final callback code unreachable.
* parse_control(): Rewrite field checkingPatrick McDermott2019-04-231-19/+16
| | | | | | | | Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb.
* parse_control(): Make req_fields arg optionalPatrick McDermott2019-04-231-1/+10
|
* parse_control(): Convert to [ -n and -z operatorsPatrick McDermott2019-04-231-7/+7
|
* ob_parse_control(): Replace param prefix/suffix removals with readPatrick McDermott2019-04-231-5/+4
|
* ob_parse_control(): Replace if construct with casePatrick McDermott2019-04-231-61/+71
|
* parse_control(): Fix paramsPatrick McDermott2019-04-231-2/+2
|
* _parse_control_error(): Reformat file infoPatrick McDermott2019-04-231-3/+3
|
* parse_control_error(): Make "static"Patrick McDermott2019-04-231-5/+5
|
* parse_control_error(): Move before usePatrick McDermott2019-04-231-19/+19
|
* parse_control_error(): Accept file and line_nr argsPatrick McDermott2019-04-231-17/+19
|
* Add braces to param exps in arith substsPatrick McDermott2019-04-191-1/+1
|
* Move lib/*.sh to src/P. J. McDermott2015-12-061-0/+147