home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!inews.Intel.COM!inews.intel.com!smothers
- From: smothers@seaview.mcd.intel.com (Charles Smothers ~)
- Newsgroups: comp.lang.perl
- Subject: help - range passed via ARGV
- Message-ID: <SMOTHERS.92Aug27182321@seaview.mcd.intel.com>
- Date: 28 Aug 92 02:23:21 GMT
- Sender: news@nntp-sc.Intel.COM (USENET News System)
- Distribution: comp.lang.perl
- Organization: Memory Components Division
- Lines: 17
- Nntp-Posting-Host: seaview
-
- I know this was posted about a month ago, could someone mail
- me some of the replys. Here is the question:
-
- I need to expand a range that is passed via ARGV. A simple
- program that will do the following will give me the help
- I need:
- % myprog 1..3 7 10..12 <- command line
- 1 2 3 7 10 11 12 <- output
- %
-
- Thanks,
- - Charles
- --
- --------------------------------------------------------------
- Charles Smothers (916)351-5359 smothers@mcd.intel.com
- The address is Intel's, the words are mine.
- --------------------------------------------------------------
-