mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-06 13:34:36 +02:00
Changed sed statement
This commit is contained in:
parent
95d5cabdb2
commit
de60926705
@ -254,7 +254,7 @@
|
|||||||
COUNT=0
|
COUNT=0
|
||||||
# Check configuration options (options start with a capital)
|
# Check configuration options (options start with a capital)
|
||||||
logtext "Test: searching configured options in ${PACMANCONF}"
|
logtext "Test: searching configured options in ${PACMANCONF}"
|
||||||
FIND=`grep "^[A-Z]" ${PACMANCONF} | sort | uniq | sed 's/ /:space://g'`
|
FIND=`grep "^[A-Z]" ${PACMANCONF} | sort | uniq | sed 's/ /:space:/g'`
|
||||||
for I in ${FIND}; do
|
for I in ${FIND}; do
|
||||||
PMOPTION=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $1 }'`
|
PMOPTION=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $1 }'`
|
||||||
PMVALUE=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $2 }'`
|
PMVALUE=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $2 }'`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user