[PCB_FORUM] Re: Allegro script problem

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
-----------------------------------------------------------

Other related posts: