]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/expansion/cmdsubst18.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / cmdsubst18.0
1 # $FreeBSD: head/bin/sh/tests/expansion/cmdsubst18.0 314637 2017-03-03 22:46:20Z jilles $
2
3 x=X
4 unset n
5 r=${x+$(echo a)}${x-$(echo b)}${n+$(echo c)}${n-$(echo d)}$(echo e)
6 [ "$r" = aXde ]