xref: /freebsd/bin/sh/tests/expansion/length6.0 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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