- May
- 608
- 4
Charles,
The handling of quotes described here:
works very well, but could use an enhancement.
There are text sources which use two consecutive ASCII apostrophes as a substitute for double quotation marks; e.g.,
It would be useful if /Q would treat two consecutive ASCII apostrophes as if they were a single occurrence of the generic ASCII [double] quotation mark.
(For now, I'm preprocessing the text with
.)
Tnx,
Dave C.
The handling of quotes described here:
Code:
Quotes replacement: /Q causes WRAP to replace generic ASCII apostrophes and quote marks ( ' and " ) with Unicode open and close
quote marks ( ‘ ’ and “ ” ). The new quote marks may or may not look different from the originals, depending on how they are
displayed and the font used. If the output is displayed in a non-Unicode font, the curly quotes will be lost or mangled.
There are text sources which use two consecutive ASCII apostrophes as a substitute for double quotation marks; e.g.,
Code:
''This is a sample quotation,'' wrote Dave.
It would be useful if /Q would treat two consecutive ASCII apostrophes as if they were a single occurrence of the generic ASCII [double] quotation mark.
(For now, I'm preprocessing the text with
Code:
sed -e `s/''/\"/g`
Tnx,
Dave C.