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
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 -
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
how would one write a regular expression to exclude items that arent digits?
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:
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