As an experiment, I have pushed to plan9port a
new rc parser that resolves two long-time nagging issues:
2. Free carats are
now inserted any time two word expressions are next to each other with no spaces, not just most of the time. For example, the Plan 9 printfont script contains a bug of the form:
x=$x'abc'`{def}'ghi'
The bug is that an explicit carat is needed after the }. No longer.
I tested the change by checking every rc script I could find against the old and new parser; the printfont script mentioned above was the only affected script (and it's not in plan9port anyway).
You can compare the parser output on any particular script using:
diff <{rc -Y -D script} <{rc -D script}
If you run into any problems, the old parser is still available using "rc -Y", but please file an issue so we can fix the new parser.
Best,
Russ