home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4982 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.0 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!bionet!raven.alaska.edu!raven.alaska.edu!ejo
  2. From: ejo@kaja.gi.alaska.edu (Eric J. Olson)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Pgnews 2.0 (Larry Wall Please Look)
  5. Message-ID: <1992Jul27.195827.25292@raven.alaska.edu>
  6. Date: 27 Jul 92 20:58:19 GMT
  7. References: <2844@wrdis01.af.mil>
  8. Sender: news@raven.alaska.edu (USENET News System)
  9. Distribution: na
  10. Organization: Citizens for Boysenberry Jam Fans
  11. Lines: 20
  12. In-Reply-To: mcgough@wrdis01.af.mil's message of 27 Jul 92 18: 28:58 GMT
  13. Nntp-Posting-Host: kaja.gi.alaska.edu
  14.  
  15. Since you added a useless $VERSION thing, here's a quick patch to spit
  16. it out.  That wasn't so hard, was it?
  17.  
  18. ********
  19. 7c7
  20. < #**    SYNOPSIS | pgnews [-h hostname]
  21. ---
  22. > #**    SYNOPSIS | pgnews [-V] [-h hostname]
  23. 21a22
  24. > #**        | Eric J. Olson       07-27-92  -V flag (sheesh)
  25. 73a75,76
  26. > #**        |
  27. > #**             | 07-27-92: (ejo) made -V spit out version (sheesh)
  28. 101a105,110
  29. >     }
  30. >     if ($arg =~ /-.*V/)
  31. >     {
  32. >         printf("pgnews version $VERSION\n");
  33. >         exit 0;
  34.