Re: [foxboro] dedit syntax

  • From: "mdaatje" <mdaatje@xxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Tue, 1 Jul 2008 17:51:52 +0200

Ron,

Try this:
Dedit -t/\/opt\/customer\/displib\/faceplates/\/opt\/tmpdir/

before each control character place a \ to treat it like a search/replace 
string.

regards,

Martijn

----- Original Message ----- 
From: Ron Schafer
To: foxboro@xxxxxxxxxxxxx
Sent: Tuesday, July 01, 2008 3:29 PM
Subject: [foxboro]

Ok, I believe a have a stumper for most of us! Lets see who knows the
solution!

I want to use dedit (ia ver 8.3) to search and replace all path names
with a new path name. I want to use the command line so I can automate
several changes.

The problem is that the \ character is the separator for dedit and also
for the path. If I put it in quotes dedit still treats it like it's the
dedit separator and not the path.=20

Search string is

/opt/customer/displib/faceplates

Replace string is

/opt/tmpdir

Dedit -t/"/opt/customer/displib/faceplates"/"/opt/tmpdir"/
/opt/menus/mydisplay

=20

Any Ideas?=20

Ronald G. Schafer

Distributed Controls System Administrator

White Birch Paper Company

Bear Island L.L.C. Division

Ashland VA, 23005

Phone 804-227-4034

Fax 804-227-4052

Email: rschafer@xxxxxxxxxxxxxxxxxxxxxx

=20

=20

=20




-- No attachments (even text) are allowed --
-- Type: text/x-vcard
-- File: rschafer@xxxxxxxxxxxxxxxxxxxxxxxxxx
-- Desc: rschafer@xxxxxxxxxxxxxxxxxxxxxxxxxx




_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave 


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: