I am confused, and appologise to all for the noise. ,x/label="[^"]+"/ { x/ [a-z]/ | tr a-z A-Z }
does exactly what I wanted, I don't understand why in my toy tests it didn't appear to work, probably a typo. for the record I was tring to do this: label="Hello" -> label="Hello" (i.e. unchanged) label="Hello world and other planets" -> label="Hello World And Other Planets" -Steve