Initool lets you manipulate the contents of INI files from the
command line. It is a rewrite of an earlier program by the same
developer called "iniparse". Rather than modify INI files in place
like iniparse, however, it prints the modified contents to standard
output.
===> The following configuration options are available for initool-1.0.0:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
sysutils/initool: Update to 0.17.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.17.0
* Fixed byte-order mark detection. It was broken for files with more than one
line.
* Added an alternative wildcard character, _ (underscore). The * wildcard never
worked on Windows because binaries compiled with MoSML, the compiler we use,
expand * to a list of files.
* Wildcards can be escaped using \: \*, \_. A leading slash is now removed from
the section-name argument and the key argument.
* The test suite has been ported to Windows. Windows builds are now tested just
like Linux and Mac builds. This will help prevent Windows-only bugs in the
future.
Making _ a wildcard and the introduction of escaping with a leading slash break
compatibility with previous versions (in a relatively minor way).
PR: 279514
Reported by: DtxdF@disroot.org (maintainer)
sysutils/initool: Update 0.14.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.14.0
* Initool now prints normal help to standard output instead of standard
error. This minor breaking change restores how help worked before
version 0.10.0.
* Build and infrastructure were improved.
PR: 274460
sysutils/initool: Update to 0.13.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.13.0
* Added a new global option -i/--ignore-case.
* Implemented wildcards. A wildcard (*) section name or key matches
everything.
* Repeated keys and section names are handled correctly. Commands
act on every copy. exist and get ... --value-only did not work
correctly for repeated items before.
* get, set, delete can exit with non-zero status. The previous
approach of never doing it made it easier for mistakes to go
unnoticed. Sorry if this breaks your script. It was a mistake
to keep the old behavior for so long.
* Initool no longer prints the section name on
(Only the first 15 lines of the commit message are shown above )
sysutils/initool: Update 0.12.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.12.0
* Added error messages with contextual usage information. Instead
of the full help message, initool will show you the arguments
you gave and usage for the command you were trying to use.
It will display the list of possible commands when it does
not recognize the command.
PR: 273118
Reported by: DtxdF@disroot.org (maintainer)
sysutils/initool: Update to 0.11.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.11.0
* Fixed adding top-level properties to a file with properties only
in sections. They were erroneously added to the last section.
* Added long commands. For example, you can use exists instead of e.
This change is fully backwards-compatible; short commands remain
supported. You can also use the flag -v instead of --value-only.
* Improved the usage message.
PR: 272779
sysutils/initool: add new port
Initool lets you manipulate the contents of INI files from the
command line. It is a rewrite of an earlier program by the same
developer called "iniparse". Rather than modify INI files in place
like iniparse, however, it prints the modified contents to standard
output.
PR: 272351
Submitted by: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>