spice-example-sh: avoid use of sed and awk