NotaBene Mailing List 2001
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Carl's program to soften CRs
Back on December 1st Tom Driver sent a message saying that my program
SOFTEN.DEF, which he'd downloaded from Rick's NB users' website, didn't
work right for him. It was supposed to remove single CRs from defined
passages in text (such as email messages) that has a CR at the end of every
line and a CR CR string between paragraphs. Instead, it worked on the whole
file.
Carl Distefano noticed the message, downloaded the program, found a number
of reasons why it didn't work as advertised, and wrote a program that
*does* work, beautifully - UNCR.PM. If you've got text defined, UNCR.PM
removes single CRs within the define only. If you haven't, it removes
single CRs from the whole file.
With Carl's permission I am posting UNCR.PM to the list (see attached
program), and sending it to Rick Penticoff for inclusion in the XPL section
of the website. Anyone who downloaded SOFTEN.DEF or SOFTEN.FIL and found
that they worked (as they still do for me, in spite of their programming
inadequacies) should still change over to UNCR.PM. It's much faster - and
just one program instead of two.
For XPL buffs - Carl's program is a model of economy. It also illustrates
the use of the new negation wildcard. If anyone wants more info about it, I
can probably (after helpful tutoring from Carl) supply it.
Mary
Mary
Mary Bernard
mary_bernard@nospam.compuserve.com
Uncr.pm
Main Index |
Thread Index