xref: /freebsd/bin/sh/tests/expansion/length6.0 (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# $FreeBSD$
2
3x='!@#$%^&*()[]'
4[ ${#x} = 12 ] || echo bad 1
5[ "${#x}" = 12 ] || echo bad 2
6IFS=2
7[ ${#x} = 1 ] || echo bad 3
8[ "${#x}" = 12 ] || echo bad 4
9