>>>>> "mt" == Mauricio Teixeira <[EMAIL PROTECTED]> writes:

  mt> On Wed, 17 Jun 1998, Sim Robert wrote:

  >> After I transferred some text files from DOS to Linux, I
  >> discovered that there is a <cr> or ^M after each line. How do I
  >> remove those <cr> quickly, instead of doing so one by one.

  mt>   Use the command "dos2unix"...

AFAIK it is not included with Red Hat 5.0.  Here is a shell script
which I use in its place:-

#! /bin/sh
cat "$@" | recode IBM-PC:latin1 2>/dev/null


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to