in reply to Parse backup log
In addition to matija's suggestion, you appear to need to also take into account lines which do not contain the expires, date, and time fields. In those cases, even with matija's example, your status variable would be undefined (or blank.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ^2 Parse backup log
by mrbbq (Sexton) on Apr 20, 2004 at 19:44 UTC | |
by Belgarion (Chaplain) on Apr 20, 2004 at 19:56 UTC | |
by mrbbq (Sexton) on Apr 20, 2004 at 20:04 UTC | |
by Belgarion (Chaplain) on Apr 20, 2004 at 20:18 UTC | |
by mrbbq (Sexton) on Apr 20, 2004 at 20:53 UTC | |
| |
by mrbbq (Sexton) on Apr 20, 2004 at 20:44 UTC |