[comp.soft-sys.andrew] YAEP

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (08/03/90)

They're coming fast & furious, folks.  Thanks for all your cards & letters...

To make the -l argument more flexible, change the two lines starting at
line 52 from:

           logfile = &argv[1][2];
           if (*logfile == ':') ++logfile;

to:

          if (argc > 2 && argv[1][2] == '\0') {
              logfile = argv[2];
                       ++argv;
              --argc;
            } else {
                   logfile = &argv[1][2];
                 if (*logfile == ':') ++logfile;
            }

Cheers.  -- Nathaniel