#Run with sed -n -f $0 pristine-java7langspec-grammar.y to emmit a list of grammar constructs like "a b {a}" /\b\(.\{2,\}\)\b.*{.*\b\1\b/p