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