Re: getting rid of multiple consecutive blanks ?

"Voytek Eymont" <[email protected]> Mon, 26 Oct 2009 21:01:04 +1100 (EST)
Newsgroups gmane.comp.handhelds.palm.peditors
Message-ID <[email protected]>
<quote who="John Markley">

John, this runs perfect, BUT, what I really need, is replace two or more
LF with a single LF

so.....
> {LFdelete::
> /&runtimeInit[]
> /xEpro f
> /xEpro T/xEpro W/xEpro R/xEpro r
> /p10
> /&script$[@@LFd2@@]}
> {LFd2::
> /&tap i[080,080]
> /&script$[@@LFd3@@]}
> {LFd3::
> /p32
> /xEpro f  A
> /&script$[@@LFd4@@]}
> {WTC4:: d}

let's try:

 {LFdelete::
 /&runtimeInit[]
 /xEpro f
 /xEpro T/xEpro W/xEpro R/xEpro r
>> /p10 /p10
 /&script$[@@LFd2@@]}
 {LFd2::
 /&tap i[080,080]
 /&script$[@@LFd3@@]}
 {LFd3::
>> /p10
 /xEpro f  A
 /&script$[@@LFd4@@]}
 {WTC4:: d}

-- 
Voytek



------------------------------------

Latest pedit/pToolSet/LapTopHack at http://www.osuweb.net/~pc/pca/pc_all.zip
pedit/pToolSet/LapTopHack scripting info/resources at http://www.peditors.com
Peditors Forum http://groups.yahoo.com/group/peditors
Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/peditors/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/peditors/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/