1 2 3 4 5 6 7
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/trim11.0 333927 2018-05-20 17:25:52Z jilles $ a='z ' b="${a% }" [ "$b" = z ]