Skip to content

Size of Variable reporting inaccurate? #7

@MartineauUK

Description

@MartineauUK

Minor quibble for a variable of length 2999

'wc -m' or 'wc -c' appears to incorrectly report the NVRAM variable?

e.g.
echo $(nvram get jffs2_on)
1
Now print the size using your method
echo $(nvram get jffs2_on | wc -m)
2

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