After some text manipulations I got the output: " 75 queen". I sent it like this:
..( 75 queen ).. | sed 's/ \([0-9]*\) \(q.*) /The word \2 with \1 appearances.'
For this code I got the error "sed: -e expression #1, char 66: unterminated `s' command. What does it mean?