Bash
Aus Programmers Guide
Version vom 10:09, 21. Okt. 2010 bei Roy (Diskussion | Beiträge)
Prüfen ob die Variable leer ist
PROXY=$(cat /etc/proxy) if [ -z "$PROXY" ] then #isempty echo "noProxy" else #notempty echo "goProxyGoGoGo" fi exit 0