| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | RE: [ECS] EDM help A.J. Griglak Thu, 7 Dec 2000 11:37:07 -0500 |
ummmngmnnmmmm hmph I _have_ been referring to EDM_HLP.TXT - without it, I wouldn't have gotten this far! Please tell me where in EDM_HLP.TXT it refers to the questions that I asked... There are NO mentions of any of those items in there! -=A.J. -----Original Message----- From: Mark Gilmore [mailto:omnip@usit.net] Sent: Thursday, December 07, 2000 11:16 AM To: ecs-list@netbloc.com Subject: Re: [ECS] EDM help Hi A.J., Please refer to EDM_HLP.TXT. -- Mark Gilmore Omnipotence (ECS home automation software) http://omnipotencesoftware.com 423-745-0026 Hours: Mon-Sat, 9AM-8PM/EST "A.J. Griglak" wrote: > > Thanks, Mark! I got it working. Just a FYI for anyone else doing this: > You also need to remove all leading spaces, otherwise you won't delete lines > that are full of spaces... > > IT/ > C/''?? > A/'?? > 0FD/ ???? > CA/'?? > > Mark, I'm really trying to understand all the intricacies of EDM, could you > explain what the ' character does in the two lines > A/'?? > CA/'?? > I couldn't find any reference to this in the docs. > > And, does the '' in > C/''?? > mean to put it at the beginning of the line? > > Also, what does the zero do in > 0FD/ ???? > According to the docs, the 0 is an Execution Count, meaning to execute the > FD command 0 times????? > > TIA, > -=A.J. > > -----Original Message----- > From: Mark Gilmore [mailto:omnip@usit.net] > Sent: Thursday, December 07, 2000 8:00 AM > To: ecs-list@netbloc.com > Subject: Re: [ECS] EDM help > > 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.