]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/expansion/length6.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / length6.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/expansion/length6.0 220903 2011-04-20 22:24:54Z jilles $
71aad674
A
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