Commit graph

51 commits

Author SHA1 Message Date
b8d4d493f1 Fix usage example. 2024-08-02 15:59:06 +01:00
4d915e6df7 Fix usage example. 2024-08-02 15:34:06 +01:00
0a942fd0b7 Use a default --merge-delim of \003 (hex) when --duplicates-merge is used. 2024-08-02 15:09:36 +01:00
73796b633b Add --lowercase-keys and --uppercase-keys options. 2024-02-18 17:43:17 +00:00
629a2e2192 Fix a couple of shellcheck errors. 2024-02-18 17:18:24 +00:00
47fb3588b8 Add -merge-delim option. 2024-02-18 17:16:56 +00:00
cecae2a90a Update help text and version number. 2019-08-12 01:02:20 +01:00
ca00b03cb7 Fix being able to pipe an INI into the parser. 2019-08-12 00:41:22 +01:00
dbc6dd7a91 Add 'bash' tags to code syntax. 2019-08-10 03:19:51 +01:00
b4e6a81985 Use an error code to indicate partial processing. 2019-08-10 02:57:46 +01:00
8d638cc418 Updated docs with some syntax changes. 2019-08-10 02:32:51 +01:00
e94c6af459 Added section on error/return codes. 2019-08-10 02:22:56 +01:00
8216282742 Add missing 'return' in option processing. 2019-08-10 00:28:46 +01:00
05fc13bc1d Escape any 's in the key name. 2019-08-10 00:04:21 +01:00
0b704e6ef1 Use 's instead of "s when defining the array elements. 2019-08-09 23:09:09 +01:00
f7786946c0 Added section on using no prefix or delim. Updated formatting. 2019-07-25 21:24:47 +01:00
e00a805458 Change name from parse_ini to parse-ini -- filenames shouldn't have _s in them. 2019-07-25 21:04:48 +01:00
a751725b7e Change it's to it has. 2019-07-22 02:39:09 +01:00
689d248c7f Add some detail on speed to docs. 2019-07-21 23:40:45 +01:00
41abbdede6 Remove testing output from examples in docs. 2019-07-21 21:31:34 +01:00
ef0b18f57a Clean up environment. Added a comment regarding usage. 2019-07-21 21:29:53 +01:00
4860b274ef Finish documentation. 2019-07-21 21:01:00 +01:00
bf008dae23 Docs updates. 2019-07-21 20:16:32 +01:00
e15cc878e5 Documentation updates. 2019-07-21 20:02:08 +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
32a1de7ff7 Remove the ruler. 2019-07-21 02:35:18 +01:00
6ab71ce923 Documentation updates. 2019-07-21 02:33:35 +01:00
ad7533667e Correct --help formatting. 2019-07-21 02:25:08 +01:00
30771b4471 Documentation. Clean up directory. 2019-07-21 01:28:46 +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