Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parse_control(): Protect cat cmd from operands beginning with "-" | Patrick McDermott | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | parse_control(): Drop field callback dead code | Patrick McDermott | 2019-04-23 | 1 | -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 checking | Patrick McDermott | 2019-04-23 | 1 | -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 optional | Patrick McDermott | 2019-04-23 | 1 | -1/+10 |
| | |||||
* | parse_control(): Convert to [ -n and -z operators | Patrick McDermott | 2019-04-23 | 1 | -7/+7 |
| | |||||
* | ob_parse_control(): Replace param prefix/suffix removals with read | Patrick McDermott | 2019-04-23 | 1 | -5/+4 |
| | |||||
* | ob_parse_control(): Replace if construct with case | Patrick McDermott | 2019-04-23 | 1 | -61/+71 |
| | |||||
* | parse_control(): Fix params | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | _parse_control_error(): Reformat file info | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | parse_control_error(): Make "static" | Patrick McDermott | 2019-04-23 | 1 | -5/+5 |
| | |||||
* | parse_control_error(): Move before use | Patrick McDermott | 2019-04-23 | 1 | -19/+19 |
| | |||||
* | parse_control_error(): Accept file and line_nr args | Patrick McDermott | 2019-04-23 | 1 | -17/+19 |
| | |||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | Move lib/*.sh to src/ | P. J. McDermott | 2015-12-06 | 1 | -0/+147 |