You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+55-2Lines changed: 55 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Rather than modify an INI file in place, it prints the modified contents of the
12
12
-[POSIX](#posix)
13
13
-[Windows](#windows)
14
14
-[Both](#both)
15
+
-[PowerShell](#powershell)
16
+
-[Most shells](#most-shells)
15
17
-[Whitespace](#whitespace)
16
18
-[Nonexistent sections and properties](#nonexistent-sections-and-properties)
17
19
-[Unparsable lines](#unparsable-lines)
@@ -53,6 +55,7 @@ The global options `-i`/`--ignore-case` and `-p`/`--pass-through` must precede t
53
55
When given a valid command, initool first reads the INI file `filename` in its entirety.
54
56
If the filename is `-`, initool reads standard input. For the commands `get`, `set`, `replace`, and `delete`, it then prints to standard output the file's contents with the desired change.
55
57
For `exists`, it reports whether the section or the property exists through its exit status.
58
+
**Initool never modifies the original file.**
56
59
57
60
An INI file consists of properties (`key=value` lines) and sections (designated with a `[section name]` header line).
58
61
A property can be at the "top level" of the file (before any section headers) or in a section (after a section header).
0 commit comments