[PCB_FORUM] Re: Allegro script problem

I use a windows based text editor called NoteTab Light.  It has a setting
where you can save documents in UNIX format.  Very convenient.  If you open
a file containing the ^M characters, they'll all be gone after you save it
under this editor.

Juan M. Muñoz
Tyco Electronics Power Systems, Inc.
CAD Support Group
phone:  972-284-3019
e-mail:  juan.munoz@xxxxxxxxxxxxxxxxxxx
-----Original Message-----
From: Kevin McCowan [mailto:kmccowan@xxxxxxxxxxxxxx] 
Sent: Monday, November 29, 2004 2:46 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: Allegro script problem

That's because it isn't cntrl-v "m" it's cntrl-v "return".
That will give you a real "return" to search for.
Try it it will amaze and astound you.
Vim, it is what real editing is all about.

Kevin McCowan
Sr. PCB Designer
TSI Telsys

Gary MacIndoe wrote:
> Thanks for the response Chris, but I can't seem to get it to work.  I'm on
> W2K and using Vim as my editor.
> 
> It won't accept the "%", but I tried ":s/^M//".  It says "Pattern not
found:
> ^M" even though I'm looking at a bunch of them in the file.  I used the
two
> characters "^" and "M" in the search and replace.  When I try to use
> "[CNTL-V][m]" it doesn't work either.  In the file, it sees the "^M" as
one
> character.
> 
> Gary E. MacIndoe
> PCB Design Engineer
> Advanced Micro Devices, Inc.
> Longmont, Colorado
> 
> 
> 
> 
> -> -----Original Message-----
> -> From: vince fornier [mailto:kerchunk@xxxxxxxxxx]
> -> Sent: Friday, November 26, 2004 2:00 PM
> -> To: icu-pcb-forum@xxxxxxxxxxxxx
> -> Subject: [PCB_FORUM] Re: Allegro script problem
> ->
> ->
> ->
> -> > Since these scripts are made up of pieces of other
> -> > scripts, and some hand entry, some lines have a "^M"
> -> > at the end of the line, and some don't.  Could this
> -> > cause inconsistent behavior?
> ->
> -> Yuck! If you've got VI installed on your box, you can
> -> zap all those pesky ^M characters with the following:
> ->     %s/^M//
> ->        |
> ->        entered as "[CNTL-V][m]"
> ->
> -> Dunno if this will solve your problem, but it will clean up your
> -> codebase and eliminate one possibility of errors.
> ->
> -> Good Luck,
> ->
> -> Chris Walters
> -> local Cadence guru
> -> (Apple)
> ->
> ->
> ->
> -> _______________________________________________
> -> Join Excite! - http://www.excite.com
> -> The most personalized portal on the Web!
> -> -----------------------------------------------------------
> -> To subscribe/unsubscribe:
> ->    Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
> ->    with a subject of subscribe or unsubscribe
> ->
> -> To view the archives of this list please login at
> -> http://www.freelists.org. Our list name is icu-pcb-forum
> -> or go to http://www.freelists.org/archives/icu-pcb-forum/
> ->
> -> Problems or Questions:
> ->    Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
> ->
> -> Want to post a job listing ?  DON'T DO IT HERE!
> -> Better yet, join our jobs listing forum.
> ->
> -> SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
> -> POST:       icu-jobs-forum@xxxxxxxxxx
> -> -----------------------------------------------------------
> ->
> ->
> 
> 
> -----------------------------------------------------------
> To subscribe/unsubscribe: 
>       Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
>       with a subject of subscribe or unsubscribe
> 
> To view the archives of this list please login at
> http://www.freelists.org. Our list name is icu-pcb-forum
> or go to http://www.freelists.org/archives/icu-pcb-forum/
> 
> Problems or Questions:
>       Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
> 
> Want to post a job listing ?  DON'T DO IT HERE!  
> Better yet, join our jobs listing forum.
> 
> SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
> POST:       icu-jobs-forum@xxxxxxxxxx
> -----------------------------------------------------------
-----------------------------------------------------------
To subscribe/unsubscribe: 
        Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
        with a subject of subscribe or unsubscribe

To view the archives of this list please login at
http://www.freelists.org. Our list name is icu-pcb-forum
or go to http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ?  DON'T DO IT HERE!  
Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------
-----------------------------------------------------------
To subscribe/unsubscribe: 
        Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
        with a subject of subscribe or unsubscribe

To view the archives of this list please login at
http://www.freelists.org. Our list name is icu-pcb-forum
or go to http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ?  DON'T DO IT HERE!  
Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------

Other related posts: