Actually, this is a MUCH better approach - since now you can grep every text file in a directory for REM statements and incorporate them in your output. If the code was in remind itself, you could only process one one file at a time, or you'd have to have a master file that 'INCLUDE'd all the other files.
David J Patrick sent the following missive on 10/9/2007 10:21 PM: > On Tue, Oct 09, 2007 at 07:36:18PM -0400, David F. Skoll wrote: >> Daniel A Graham wrote: >>> Not perl, but here's a python script to do the job: >>> remind = re.compile(r'^\s*rem\s.*$', re.IGNORECASE) >> The original poster wanted lines cut at the final %. So if you have: >> > You guys are AMAZING ! > I was just talking to a friend, about all this command line magic, and the > fantastic way things can happen in this FLOSS universe, and blammo ! > youse guys whip up not one but TWO bit of code magic ! > > my hat is off, sirs > [deep bow] > ;-) > djp > _______________________________________________ > Remind-fans mailing list > [email protected] > http://lists.whatexit.org/mailman/listinfo/remind-fans -- Justin Bradford Alcorn [EMAIL PROTECTED] http://jalcorn.net PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C _______________________________________________ Remind-fans mailing list [email protected] http://lists.whatexit.org/mailman/listinfo/remind-fans
