Re: help!

2001-06-05 Thread chris robinson
I don't intend to submit the answer put up here. This would be ethically wrong, I want to get ideas (and I did - thanks Chas). - Original Message - From: "Randal L. Schwartz" <[EMAIL PROTECTED]> To: "chris robinson" <[EMAIL PROTECTED]> Cc: <[EM

Re: Descriptive Subjects - was (Re: help!)

2001-06-05 Thread chris robinson
Sorry! I'll try in future - Original Message - From: "Craig Moynes/Markham/IBM" <[EMAIL PROTECTED]> To: "chris robinson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 11:21 PM Subject: Descriptive Subjects -

help!

2001-06-05 Thread chris robinson
I have the following code. This code prints a / for each occurance of a certain number/word in a file. How would I change this to print a / for each 5 instances of a given word/number? Thanks #!/usr/bin/perl my $file; $file = $ARGV[0]; open( "file", "< $file") or die "Cannot open image fi

reg exp

2001-06-05 Thread chris robinson
how would one write a regular expression to exclude items that arent digits?

Re: regular expression

2001-06-02 Thread chris robinson
th zero or more > # whitespace characters followed by a # > # If you only want to eliminate lines > # with # as the first character you can > # use /^#/ > } > > On 02 Jun 2001 18:14:

regular expression

2001-06-02 Thread chris robinson
I need to write a regular expression to eliminate any lines in a text = file that start with a #. how would I do this. Many Thanks