ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] ED Editor Question
Mark Gilmore
Mon, 07 Feb 2000 12:44:56 -0500

Don,
Your "C" command will only apply to the current line.
You probably want to use a "C/", which would do the
change on ALL lines (see EDM.HLP).
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026


> Don Stephens wrote:
> 
> I've been pulling my hair out trying to get my ED script to work
> correctly. I'm trying to have it change certain characters in my
> weather report to others, more easily spoken by TTS.
> Here is my script
> 
> Bell                        Turns bell off
> r WEATHER.DAT    Reads Weather.Dat
> V0                          Turns off Echo
> /CA'PST'                 Can't remember what I did here
> f Forecast as of       Finds the string 'Forcast as of'
> I The following is the weather forecast as of,   Incerts this string
> d-                            Throws out all previous text
> c 101 1O1                Changes one zero one to one o one (doesn't
> work)
> c wind winde             Changes wind to winde                  (no
> luck here)
> c winds windes          Changes winds to windes               (no luck
> here)
> c.. ;                          Changes '...' to ';'
> w WEATHER.RPT     Write modified text to Weather Report
> q                               Quit
> 
> 
> I'm sure I've screwed up the formatting of the 'c' command. Can anyone
> help me out?
> 
> Thanks
> Don
>

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.