Eh? my $IN = open("my.in.file") or die "Horrible death"; while (<$IN>) { s/\A\^\[//; # Do stuff }
-----Original Message----- From: Craig Sharp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 1:04 PM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] URGENT Regex problem Hi all, I have several lines that start as follows: ^[(s3B I need to remove the ^[ from each line. Beware that there are lines in the file that do not begin as shown. Thanks, Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax: 734-466-6939 [EMAIL PROTECTED] ==================================================== I have not lost my mind, it's backed up on tape somewhere! ==================================================== _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs