66 ;;
67 USER)
68 if [ -n "${ARGS}" ] ; then
69 POP_USER="${ARGS}" 70 ANSWER="+OK Please send PASS command"
71 fi
72 ;;
19LOGFILE=${LOGFOLDER}/fakepop.log
20
21LOGGING=1
22DEBUG=1 23TIMEOUT=60
24
25POP_USER=
66 ;;
67 USER)
68 if [ -n "${ARGS}" ] ; then
69 POP_USER="${ARGS}" 70 ANSWER="+OK Please send PASS command"
71 fi
72 ;;
19LOGFILE=${LOGFOLDER}/fakepop.log
20
21LOGGING=1
22DEBUG=1 23TIMEOUT=60
24
25POP_USER=
Variables that are declared but not used for anything should be removed.
foo=42
echo "$FOO"
foo=42
echo "$foo"
This warning may be falsely emitted when a variable is referenced indirectly, or it is intentionally not used.
# foo generates a warning, even though it has five indirect references
foo=42
name=foo
echo "${!name} $((name))"
export "$name"; eval "echo $name"
declare -n name; echo "$name"
This is an intentional design decision and not a bug. If you have variables that will not have direct references, consider using an associative array in bash, or ignore this warning.
_
as a dummy:read _ last _ zip _ _ <<< "$str"
echo "$last, $zip"