Commit graph

25 commits

Author SHA1 Message Date
ef0b18f57a Clean up environment. Added a comment regarding usage. 2019-07-21 21:29:53 +01:00
075d9885ee Handle delimiter usage correctly. 2019-07-21 20:00:11 +01:00
a0a1fba166 Handle situation where, if prefix and delim are both empty, the section name cannot begin with a number. 2019-07-21 19:35:41 +01:00
55788d34ff Handle DOS format files correctly. Thanks to dive for the report :) 2019-07-21 15:10:25 +01:00
3d95c70003 Typo in --help. 2019-07-21 14:30:56 +01:00
7acdc485dd Remove the ruler from the --help output - oops. 2019-07-21 03:29:07 +01:00
fe9652d8a5 Update --help. Clarify semantics in the README. 2019-07-21 03:28:08 +01:00
ad7533667e Correct --help formatting. 2019-07-21 02:25:08 +01:00
9f284ef302 Add copyright/license header. Add example usage to help. 2019-07-20 22:16:24 +01:00
a63a002c53 Use '' around declared values, and handle escaping in variable expansion. 2019-07-20 21:48:06 +01:00
a5b7c2345d Add --check capability. 2019-07-20 20:51:29 +01:00
8257196d45 More variable consoldation. 2019-07-20 20:33:52 +01:00
ca07c72934 Consolodated use of 'shift' when parsing args. 2019-07-20 20:19:58 +01:00
1255adfdbf Only output a section array declaration if there's some elements being defined too. 2019-07-20 20:08:19 +01:00
e0af3a5da0 Consolodate temporary variable usage. 2019-07-20 19:49:52 +01:00
bd1ff63185 SEEN_SECTIONS -> SECTIONS_SEEN. 2019-07-20 19:29:51 +01:00
8a03e4f96f Change text from 'ignoring' to 'skipping'. 2019-07-20 19:21:23 +01:00
b1033f942e Strip trailing whitespace before processing line. 2019-07-20 19:19:20 +01:00
314a0d98ac Attempted balancing of quotes - messy! 2019-07-19 21:49:35 +01:00
ec8ab16ef7 Added --repeat-sections and --duplicates-merge. 2019-07-19 13:53:45 +01:00
67028c4fae Add missing >&2s on echos. 2019-07-19 11:33:03 +01:00
e59eb107e3 Almost complete - before cleanup work. 2019-07-19 01:55:34 +01:00
c6f0bdfc5c Progress... 2019-07-18 17:45:01 +01:00
161a886e19 Progress.. 2019-07-16 21:38:27 +01:00
2dda2e227d Initial commit. 2019-07-16 12:41:49 +01:00