Philipe Martins escreveu:

Sou novo em FreeBSD e gostaria de saber como posso fazer para remover os carcteres ^M no final dos arquivos importados do Windows para o FreeBSD. Alguem j� se deparou com este problema?
  Eu adoro receber dicas por email...e vc's ?


UNIX GURU UNIVERSE apresenta .... :-)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

GETTING RID OF ^M

How to get rid of ^M
in text files .

tr -d '^M' <inputfile >outputfile

But how to get this
'^M' in the command
line:

Keep CTRL pressed
and then press v and m

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe



     UNIX && Network Admin(eu chego la')
+---------------------------------------------+
| "FreeBSD,BeOS,Linux"|"Cisco Network Academy"|
| III'@'||   CLEAR YOUR DESKTOP    || '@'III  |
|  | -|-||   UNIX IS THE FUTURE    || -|- |   |
|  | / \|| THE TRUST IN THE SOURCE || / \ |   |
|FreeBSD User = 050834|Linux User = 280168    |
+---------------------------------------------+
          The Power to the Serve


Attachment: msg01790/pgp00000.pgp
Description: PGP signature

Responder a