RE: [Perl-unix-users] Substitution help needed

2001-12-03 Thread Steve Aaron
Title: RE: [Perl-unix-users] Substitution help needed Craig, try this. #!/usr/bin/perl -w use strict; my $s = "  ) in psfs1 extent size 40 next size 10 lock mode row;"; print "$s\n"; $s =~ s/\)/\)\;/; print "$s\n

RE: [Perl-unix-users] Substitution help needed

2001-11-30 Thread Peter Eisengrein
[mailto:[EMAIL PROTECTED]] > Sent: 30 November 2001 11:12 > To: [EMAIL PROTECTED] > Subject: [Perl-unix-users] Substitution help needed > > > Hi all, > > > > > > I have several lines like the following in a file. I need to > make a substitution for the line.

[Perl-unix-users] Substitution help needed

2001-11-30 Thread Craig Sharp
Hi all, I have several lines like the following in a file. I need to make a substitution for the line. I am reading the file into @lines. I then loop through looking for the line. When I find the line, I need to make the change. Then I will write it out to a new file. Here is