Skip to content

Cant handel key's with spaces  #1

Description

@geosone

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions