sysad.mn

A collection of notes, guides, musings through the lenses of a Linux systems administrator

A collection of notes, guides, musings through the lenses of a Linux systems administrator

  • LinkedIn
  • Instagram
  • GitHub
Written with ❤

Removing ^M characters with Perl

10 June, 2011 By gerald Leave a Comment

1
perl -pi -e 's/\r//g' <file_name>

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • WhatsApp
  • Skype
  • Print

Related

Tagged With: linux, perl, regex

Leave a Reply Cancel reply