HEX
Server: Apache
System: Linux vps52061 6.8.0-85-generic #85~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 16:18:59 UTC 2 x86_64
User: design11 (105868)
PHP: 8.4.14
Disabled: NONE
Upload Files
File: //usr/share/bug/devscripts/script
#!/bin/sh

printf "\n--- /etc/devscripts.conf ---\n" >&3

if [ -f /etc/devscripts.conf ]; then
    grep -E '^[^#]' /etc/devscripts.conf | \
    grep -E -v "^\s*BTS_SMTP_AUTH_" | \
    grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
    echo "Not present" >&3
fi

printf "\n--- ~/.devscripts ---\n" >&3

if [ -f ~/.devscripts ]; then
    grep -E '^[^#]' ~/.devscripts | \
    grep -E -v "^\s*BTS_SMTP_AUTH_" | \
    grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
    echo "Not present" >&3
fi