SPUG: Removing special characters
mike
mike206 at gmail.com
Mon Apr 3 09:41:27 PDT 2006
try
\r
its a carraige return
usually found in windows land
to remove try s/\r//
On 4/3/06, luis medrano <lmzaldivar at gmail.com> wrote:
>
> List,
>
> I have this character in a file "^M" but I don't know how to define
> this on perl to remove it. This file is in a unix/linux enviroment. I
> will really appreciate if any of you can help me to define this
> character to be remove from the text file.
>
> Thanks,
> Luis
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays
> WEB PAGE: http://seattleperl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20060403/d2c79d2e/attachment.html
More information about the spug-list
mailing list