Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant handel key's with spaces #1

Open
geosone opened this issue Jan 7, 2023 · 0 comments
Open

Cant handel key's with spaces #1

geosone opened this issue Jan 7, 2023 · 0 comments

Comments

@geosone
Copy link

geosone commented Jan 7, 2023

for example the follwoing cat from an ini file

` ; Level 1 = basic
; Level 2 = verbose
; Level 3 = debug
;
; Note that the loglevel can also be set in a specific stanza and that value
; will override the value defined here only for that specific stanza

    loglevel=2

    ; logfile time stamp.  defaults to NNN DD HH:II:SS if not set here
    ;logstamp = YYYYHHMMHHIISS

    ; Log roller type:
    ;   0 = Do not roll log files
    ;   1 = Roll by number of files/filesize
    ;   2 = Roll by number of days

    logtype = 0

root@deb11:/opt/mystic# ./inimod r mutil.ini -S General -k loglevel
Processing file 1/1 : /opt/mystic/mutil.ini
2

root@deb11:/opt/mystic# ./inimod r mutil.ini -S General -k logtype
Processing file 1/1 : /opt/mystic/mutil.ini
Key "logtype" does not exists!
`
could you add support for spaces in the files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant