Skip to content

dahead/cini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INI editor in C

Usage

  • r/read - Reads the value of a key under a category
  • w/write <new_value> - Updates the value of a key under a category

Examples

Consider this ini file test.ini

[Hardware]
Monitor1=LG
Monitor2=LG
Mouse=Lamzu Thorn
Printer=Ricoh

To add a Key and value issue this command:

./cini write test.ini CategoryNew NewKey NewValue

The changed ini test.ini looks like this now:

[Hardware]
Monitor1=LG
Monitor2=LG
Mouse=Lamzu Thorn
Printer=Ricoh

[CategoryNew]
NewKey=NewValue

About

Small INI file editor in C for cli linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published