'echo 4 -a $replace(%!a, a, t)' doesn't work. It should echo '%t'.