PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Subbarao Chitturi <chitturi at dns1 dot state dot mi dot us>
Subject: Re: Control Characters in a Pattern
Date: Feb 22 1996 5:53PM

At 04:58 PM 2/22/96 +0100, you wrote:
>> From: Subbarao Chitturi 
>> 
>> How can I remove control characters in a string?
>
>You'd maybe normally use sed, but as this is a perl mailing list...
>
>sh% perl -p -i.bak -e 's/\r//g;'
>
>This strips all \r (ie ^M) characters from the file, and creates a
>{filename}.bak backup copy.
>

Yes, this does help a lot. Thank you for answering.

Subbarao.
chitturi@dns1.state.mi.us
============================================================================
=====
Disclaimer = I question and speak for myself.