Open
Description
Describe the bug
some linux versions (busybox for example) don't support "tr" options like "cntrl" and "alnum"
There are equivalents without them - for example:
FIND=$(echo "${HOSTNAME}" | ${TRBINARY} -d '[:alnum:].-') and be converted to:
FIND=$(echo "${HOSTNAME}" | ${TRBINARY} -d 'A-Za-z0-9.-')
Version
- busybox 1.36.1
- Lynis version 3.1.1
Expected behavior
Convert all instances of cntrl and alnum to use the equivalent without them
Output
I tested with all the conversions and it works fine.
Additional context
This will make it more portable to other platforms...
Metadata
Metadata
Assignees
Labels
No labels