You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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
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...
The text was updated successfully, but these errors were encountered: