On 25-Apr-05, at 10:06 AM, Jay Savage wrote:
On 4/25/05, Kevin Horton <[EMAIL PROTECTED]> wrote:
I'm trying to write a perl one-liner that will edit an iCalendar
format file to remove To Do items. The file contains several
thousand lines, and I need to remove several multi-line b
On 25-Apr-05, at 10:06 AM, Jay Savage wrote:
On 4/25/05, Kevin Horton <[EMAIL PROTECTED]> wrote:
I'm trying to write a perl one-liner that will edit an iCalendar
format file to remove To Do items. The file contains several
thousand lines, and I need to remove several multi-line b
. the regex
doesn't seem to be matching anything.
I'm also wondering whether my proposed one-liner (if it worked) would
be too greedy. Would it pull out everything between the first
BEGIN:VTODO and the last END:VTODO?
I'd appreciate any hints.
Thanks,
Kevin Horton
--
To unsubscribe, e-
ed. The same test was also done looking for
DCD, using pin 1, and having perl look for $EventMarker->MS_RLSD_ON.
Thanks in advance for any advice,
Kevin Horton
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ant to match it once?
What kind of line endings does the file have? If I recall correctly,
I ran into a problem where perl did not recognize classical Macintosh
line endings as ending a line. It thought the whole file was one
line, until I converted the line endings to Unix format.
Kevin Horton
e how much more CPU time this option will use. If this way
uses too much CPU time, I will try the method suggested by Charles
Clarkson.
Thanks to everyone for their assistance,
Kevin Horton
On 2-Feb-05, at 1:46 PM, David Van Ginneken wrote:
Kevin,
Would something like this work for you?
Main pr
On 2-Feb-05, at 1:09 PM, Wagner, David --- Senior Programmer Analyst
--- WGO wrote:
Kevin Horton wrote:
I'm a perl newbie working on a script to log data from a device that
sends more variables than I need to log. I have a working prototype
script, with the list of variables to be logged
to print just the variables I want.
Thanks in advance,
Kevin Horton
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>