| A|hello | hello |
| A|he'll'o | hello |
| A|he'llo | hello |
| A|he\'llo | he'llo |
| A|he\\'llo | he\llo |
| A|abc\tdef | abctdef |
| A|"abc\tdef" | abc\tdef |
| A|'abc\tdef' | abc\tdef |
| A|hello\ | hello |
| A|hello\\ | hello\ |
| A|"hello | hello |
| A|"hello\" | hello" |
| A|"hel'lo" | hel'lo |
| A|'hello | hello |
| A|'hello\' | hello\ |
| A|"''" | '' |
| A|$. | $. |
| A|$1 | |
| A|he$1x | hex |
| A|he$.x | he$.x |
| # Next one is different on Windows as $pwd==$PWD |
| U|he$pwd. | he. |
| W|he$pwd. | he/home. |
| A|he$PWD | he/home |
| A|he\$PWD | he$PWD |
| A|he\\$PWD | he\/home |
| A|he\${} | he${} |
| A|he\${}xx | he${}xx |
| A|he${} | he |
| A|he${}xx | hexx |
| A|he${hi} | he |
| A|he${hi}xx | hexx |
| A|he${PWD} | he/home |
| A|he${.} | error |
| A|he${XXX:-000}xx | he000xx |
| A|he${PWD:-000}xx | he/homexx |
| A|he${XXX:-$PWD}xx | he/homexx |
| A|he${XXX:-${PWD:-yyy}}xx | he/homexx |
| A|he${XXX:-${YYY:-yyy}}xx | heyyyxx |
| A|he${XXX:YYY} | error |
| A|he${XXX:+${PWD}}xx | hexx |
| A|he${PWD:+${XXX}}xx | hexx |
| A|he${PWD:+${SHELL}}xx | hebashxx |
| A|he${XXX:+000}xx | hexx |
| A|he${PWD:+000}xx | he000xx |
| A|'he${XX}' | he${XX} |
| A|"he${PWD}" | he/home |
| A|"he'$PWD'" | he'/home' |
| A|"$PWD" | /home |
| A|'$PWD' | $PWD |
| A|'\$PWD' | \$PWD |
| A|'"hello"' | "hello" |
| A|he\$PWD | he$PWD |
| A|"he\$PWD" | he$PWD |
| A|'he\$PWD' | he\$PWD |
| A|he${PWD | error |
| A|he${PWD:=000}xx | error |
| A|he${PWD:+${PWD}:}xx | he/home:xx |
| A|he${XXX:-\$PWD:}xx | he$PWD:xx |
| A|he${XXX:-\${PWD}z}xx | he${PWDz}xx |
| A|안녕하세요 | 안녕하세요 |
| A|안'녕'하세요 | 안녕하세요 |
| A|안'녕하세요 | 안녕하세요 |
| A|안녕\'하세요 | 안녕'하세요 |
| A|안\\'녕하세요 | 안\녕하세요 |
| A|안녕\t하세요 | 안녕t하세요 |
| A|"안녕\t하세요" | 안녕\t하세요 |
| A|'안녕\t하세요 | 안녕\t하세요 |
| A|안녕하세요\ | 안녕하세요 |
| A|안녕하세요\\ | 안녕하세요\ |
| A|"안녕하세요 | 안녕하세요 |
| A|"안녕하세요\" | 안녕하세요" |
| A|"안녕'하세요" | 안녕'하세요 |
| A|'안녕하세요 | 안녕하세요 |
| A|'안녕하세요\' | 안녕하세요\ |
| A|안녕$1x | 안녕x |
| A|안녕$.x | 안녕$.x |
| # Next one is different on Windows as $pwd==$PWD |
| U|안녕$pwd. | 안녕. |
| W|안녕$pwd. | 안녕/home. |
| A|안녕$PWD | 안녕/home |
| A|안녕\$PWD | 안녕$PWD |
| A|안녕\\$PWD | 안녕\/home |
| A|안녕\${} | 안녕${} |
| A|안녕\${}xx | 안녕${}xx |
| A|안녕${} | 안녕 |
| A|안녕${}xx | 안녕xx |
| A|안녕${hi} | 안녕 |
| A|안녕${hi}xx | 안녕xx |
| A|안녕${PWD} | 안녕/home |
| A|안녕${.} | error |
| A|안녕${XXX:-000}xx | 안녕000xx |
| A|안녕${PWD:-000}xx | 안녕/homexx |
| A|안녕${XXX:-$PWD}xx | 안녕/homexx |
| A|안녕${XXX:-${PWD:-yyy}}xx | 안녕/homexx |
| A|안녕${XXX:-${YYY:-yyy}}xx | 안녕yyyxx |
| A|안녕${XXX:YYY} | error |
| A|안녕${XXX:+${PWD}}xx | 안녕xx |
| A|안녕${PWD:+${XXX}}xx | 안녕xx |
| A|안녕${PWD:+${SHELL}}xx | 안녕bashxx |
| A|안녕${XXX:+000}xx | 안녕xx |
| A|안녕${PWD:+000}xx | 안녕000xx |
| A|'안녕${XX}' | 안녕${XX} |
| A|"안녕${PWD}" | 안녕/home |
| A|"안녕'$PWD'" | 안녕'/home' |
| A|'"안녕"' | "안녕" |
| A|안녕\$PWD | 안녕$PWD |
| A|"안녕\$PWD" | 안녕$PWD |
| A|'안녕\$PWD' | 안녕\$PWD |
| A|안녕${PWD | error |
| A|안녕${PWD:=000}xx | error |
| A|안녕${PWD:+${PWD}:}xx | 안녕/home:xx |
| A|안녕${XXX:-\$PWD:}xx | 안녕$PWD:xx |
| A|안녕${XXX:-\${PWD}z}xx | 안녕${PWDz}xx |
| A|$KOREAN | 한국어 |
| A|안녕$KOREAN | 안녕한국어 |