1257920Sjilles# $FreeBSD: releng/11.0/bin/sh/tests/parser/var-assign1.0 257920 2013-11-10 18:46:59Z jilles $ 2257920Sjilles# In a variable assignment, both the name and the equals sign must be entirely 3257920Sjilles# unquoted. Therefore, there is only one assignment below; the other words 4257920Sjilles# containing equals signs are command words. 5257920Sjilles 6257920Sjillesabc=0 7257920Sjilles\abc=1 2>/dev/null 8257920Sjillesa\bc=2 2>/dev/null 9257920Sjillesabc\=3 2>/dev/null 10257920Sjillesa\bc\=4 2>/dev/null 11257920Sjilles'abc'=5 2>/dev/null 12257920Sjillesa'b'c=6 2>/dev/null 13257920Sjillesabc'='7 2>/dev/null 14257920Sjilles'abc=8' 2>/dev/null 15257920Sjilles"abc"=9 2>/dev/null 16257920Sjillesa"b"c=10 2>/dev/null 17257920Sjillesabc"="11 2>/dev/null 18257920Sjilles"abc=12" 2>/dev/null 19257920Sjilles[ "$abc" = 0 ] 20