Skip to content

Remove leading space from key(s) #48

Description

@Ohfalderal

Leading space in string of elements key(s) returned from json_get_keys() should be suppressed / removed.

Parsing the returned string with shell parameter expansion(s) results in incorrect value(s) -

# json_get_keys _s
# $_s = ' key0 key1 key2'
echo ${_s#* } # ' key0 key1 key2'
echo ${_s# * } # 'key1 key2'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions