var-assign.0 (3b8f08459569bf0faa21473e5cec2491e95c9349) var-assign.0 (6b35d82c342b1d49316ae43e7277fc8717a93288)
1# $FreeBSD$
2IFS=,
3
4SPECIAL="break,\
5 :,\
6 continue,\
7 . /dev/null,
8 eval,

--- 33 unchanged lines hidden (view full) ---

42
43# For special built-ins variable assignments affect the shell environment.
44set -- ${SPECIAL}
45for cmd in "$@"
46do
47 ${SH} -c "VAR=1; VAR=0 ${cmd}; exit \${VAR}" >/dev/null 2>&1
48done
49
1# $FreeBSD$
2IFS=,
3
4SPECIAL="break,\
5 :,\
6 continue,\
7 . /dev/null,
8 eval,

--- 33 unchanged lines hidden (view full) ---

42
43# For special built-ins variable assignments affect the shell environment.
44set -- ${SPECIAL}
45for cmd in "$@"
46do
47 ${SH} -c "VAR=1; VAR=0 ${cmd}; exit \${VAR}" >/dev/null 2>&1
48done
49
50# For other built-ins and utilites they do not.
50# For other built-ins and utilities they do not.
51set -- ${UTILS}
52for cmd in "$@"
53do
54 ${SH} -c "VAR=0; VAR=1 ${cmd}; exit \${VAR}" >/dev/null 2>&1
55done
51set -- ${UTILS}
52for cmd in "$@"
53do
54 ${SH} -c "VAR=0; VAR=1 ${cmd}; exit \${VAR}" >/dev/null 2>&1
55done