On 12/19/2006 05:45 AM, Jack Daniels (Butch) wrote:
Having a heck of a time Windows server
Want to find all lines with .| at end of line

Also, how would I replace .| with |
My problem is when using \ to make | a regular character, it never works.
file contains lines in this format

joe|TK123 .23 .B22 2004|
joe|TK123 .23 .B22 2004.|




s/\Q.|\E$/\|/



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to