INIVAR(1)
π INIVAR(1) β the "query an INI file" era π
okay so bestie, welcome to the INIVAR(1) page, part of The Enhanced Machine Controller manual set. this little cutie does one thing and does it iconically. let's get into it π
β¨ NAME β¨
inivar β Query an INI file π¦
πΈ SYNOPSIS πΈ
inivar -var <variable> {-sec <section>} {-ini <INI file>}
π DESCRIPTION π
so like, inivar does stuff for LinuxCNC. periodt. π«
what it actually does: it prints to stdout the INI file result of a variable-in-section search. which is highkey the most useful thing ever if you're a script that wants to pick things out of INI files. scripts love her, she's the main character of shell one-liners fr fr. π
and here's the syntax again in case you scrolled past it (no judgement, i do it too π):
syntax: inivar -var <variable> {-sec <section>} {-ini <INI file>}
deets, because you deserve them:
- uses
emc.inias the default. like, if you don't tell her which file, that's the one she's reading. π <variable>needs to be supplied. no variable, no vibe. it's not optional, bestie.- if
<section>is omitted, the first instance of<variable>will be looked for in any section. - otherwise, only a match of the variable in
<section>gets returned. no extras, no surprises. π
π«Ά SEE ALSO π«Ά
also!! there's so much more info about LinuxCNC and HAL in the LinuxCNC and HAL User Manuals, which live at /usr/share/doc/LinuxCNC/. go read them, they ate. πβ¨
π BUGS π
None known at this time. flawless behaviour, no cap. β¨
π AUTHOR π
this man page was written by andypugh, as part of the LinuxCNC project. king behaviour, honestly. π
π REPORTING BUGS π
found something cursed? report bugs at:
https://github.com/LinuxCNC/linuxcnc/issues
go off, they wanna hear it. π₯
β COPYRIGHT β
Copyright Β© 2020 andypugh.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. π (yes that's the scary all-caps part, it means what it says, take it seriously bestie.)
and that's the whole page!! π this cutie came from the LinuxCNC Documentation, dated 2020-08-26, filed under INIVAR(1). stan a tiny utility that just works. byeeee π¦β¨π
π¦ where this page comes from
- debian bookworm: linuxcnc-uspace 2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u2 Β· GFDL-1.1-or-later
- debian trixie: linuxcnc-uspace 1:2.9.4-2+deb13u1 Β· GFDL-1.1-or-later
- ubuntu questing: linuxcnc-uspace 1:2.9.4-2ubuntu2
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- Copyright (c) 2020 andypugh
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms