Unabasheded laziness and the phone edit

Tony Ryder tryder at westnet.com.au
Fri Aug 6 01:44:20 PDT 2004



> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of John Esak
> Sent: Friday, 6 August 2004 16:15 PM
> To: filePro mailing list
> Subject: Unabasheded laziness and the phone edit
>
>
>
> Okay, I know I can do this... but it would take me hours and hours of
> grueling thought and consternation that once done, it would get
> done better
> by 15 people here and then re-written by Ken in two minutes to be more
> elegant and efficient than all of those entries combined.  So,
> why not just
> take the lazy path and let him do it in the first place.... :-)
>
> Please, please, please... I would do it with a big "|" and a whole 'nother
> possible edit... and I know that is probably stupid.  So, how can I change
> this phone edit below to also convert a number given as either
> 123-456-7890
> into the standard (123) 456-7890 filePro edit.
>
> PHONE  .\ <"("> N N N <")"> <" "> N N N <"-"> N N N N | N N N
> <"-"> N N N N
>
> Is that enough groveling... :-)  If you saw my fumblings over this, you
> would laugh so I'm not going to put it here. It works okay, but
> it is just a
> complete copy of this edit with an alternate one written to do the dashes.
> Need I ask if there is a better way???  :-)  Go ahead, blow me away....
>
> John
>
> P.S. - Why is it that I can write some of the most fantastic processing
> tables known to man (and women)... but write the most clumsy,
> stupid (but at
> least they work) edits? :-(  I don't think in "edit-eeze".
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list

John you could modify the edit to:

PHONE  .\ <"("> N N N <")[!-!] "> <" "> N N N <"-"> N N N N | phone1
PHONE1 .\ N N N <"-"> N N N N

Tony Ryder



More information about the Filepro-list mailing list