|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] EDM help Mark Gilmore Thu, 07 Dec 2000 07:59:50 -0500 |
This is one way ("??" is a string which we assume
does NOT exist in the file):
C/''??
A/'??
0FD/ ????
CA/'??
Regarding "dynamic" file names, you would need to create
the desired command as a line in the buffer, and then
execute it via the "EX" command. So if you changed a line
holding "12/07/00" to "W10 120700.TXT", and then entered
"EX" (when positioned on that line), EDM would write 10
lines to that file (but it WOULD contain the write command
itself - no way around that).
NOTE: I just noticed that "EX" is not listed in EDM_HLP.TXT
(I have now corrected this).
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://omnipotencesoftware.com
423-745-0026
Hours: Mon-Sat, 9AM-8PM/EST
"A.J. Griglak" wrote:
>
> How do you remove all blank lines from a text file?
>
> Also, is there anyway to write filenames based on what is in the text file?
> For example:
>
> Text line 1......
> 12/07/00
> Text line 3......
> --
> Text line A......
> 12/12/00
> Text line C......
>
> Would make two files:
>
> (1) 1207000.txt, consisting of:
> Text line 1.....
> Text line 3.....
>
> and
>
> (2) 121200.txt, consisting of:
> Text line A.....
> Text line C.....
>
> -=A.J.
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects