Re: Best tool 4 script string replacement

2001-02-07 Thread Clarence Donath
> Mettavihari, > > Just wanted to warn you that you description was equally unclear in other > areas. I seriously doubt the script Clarence offered will work by > counting 3 boundaries - I'm pretty sure the number will change depending > on the attachements. You will probably want to identify the

Re: Best tool 4 script string replacement

2001-02-07 Thread Charles Galpin
On Wed, 7 Feb 2001, Clarence Donath wrote: > > > > What I want perl to do, is to read the string in from the file > > and put it in $variable . > > This $variable string is changing from file to file. > > a few examples of strings in different files: > > > > boundary="=_NextPart_001_004B_01C

Re: Best tool 4 script string replacement

2001-02-07 Thread Clarence Donath
> What you have done is almost what I want, thank you for that, > but it is evident that I have not explained it very well. > > What I want perl to do, is to read the string in from the file > and put it in $variable . > This $variable string is changing from file to file. > a few examples of str

Re: Best tool 4 script string replacement

2001-02-07 Thread redhat
On Tue, Feb 06, 2001 at 12:23:35PM -0500, Clarence Donath wrote: Hi Clarence Donath mrdo.com Thank you very much for the help, and in perl, lovely. I can compare it with my tutorial to better understand it. > > Find string `boundary"` > > put string `=_NextPart_001_004B_01C08570.D30AB6E0`

Re: Best tool 4 script string replacement

2001-02-06 Thread Harry Putnam
[EMAIL PROTECTED] writes: > Hi Harry Putnam > > This was a very good tutorial. > I was not the person asking but anyway thank you very much for that. > > I have a similar problem but a little bit different, > and wonder if awk can be used for that too. > > I am presently trying to learn per

Re: Best tool 4 script string replacement

2001-02-06 Thread Clarence Donath
> On Fri, Jan 26, 2001 at 11:06:44AM -0500, Warren Melnick wrote: > > Hi Warren Melnick, > > This was a very good tutorial. > I was not the person asking but anyway thank you very much for that. > > I have a similar problem but a little bit different, > and wonder if awk can be used for that too.

Re: Best tool 4 script string replacement

2001-02-06 Thread redhat
On Fri, Jan 26, 2001 at 11:06:44AM -0500, Warren Melnick wrote: Hi Warren Melnick, This was a very good tutorial. I was not the person asking but anyway thank you very much for that. I have a similar problem but a little bit different, and wonder if awk can be used for that too. I am present

Re: Best tool 4 script string replacement

2001-01-26 Thread Harry Putnam
[ NOTE: Warning ... a basic `awk' tutorial follows: Chad, you have bitten off quite a big chew for starters. It involves shell scripting and knowledge of several unix tools. This step by step guide should get you started and produce an actual working script. Beyond that you will need lots of pr

RE: Best tool 4 script string replacement

2001-01-26 Thread Warren Melnick
and Development Astata Corporation -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 10:42 AM To: [EMAIL PROTECTED] Subject: Best tool 4 script string replacement I am trying to write a script to modify a configuration script for the jab

Best tool 4 script string replacement

2001-01-26 Thread chadws
I am trying to write a script to modify a configuration script for the jabber server. I am new to shell scripting and was wondering how people would approach the following situations. 1. The host name is configured by the following xml tags localhost localhost What is the best tool for replac