summary refs log tree commit diff
path: root/bin/cash/tests/expansion/cmdsubst19.0
blob: b68509ec62f5b840b31684bb92179d2750a67d45 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/cmdsubst19.0 314637 2017-03-03 22:46:20Z jilles $

b=200 c=30 d=5 x=4
r=$(echo a)$(($(echo b) + ${x+$(echo c)} + ${x-$(echo d)}))$(echo e)
[ "$r" = a234e ]