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