[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatically deleting ^M on text files



> t s a d i <ch4di@yahoo.com> writes:
[...]
> > has the character "^M" all over it (caused when someone uploads a text

  Olaf's solution is a bit complex, I'd say. It involves a 'rm', and it can
be dangerous !
The sysutils package, at least in slink and potato, has the dos2unix program.

 $ dos2unix *

-- 
  (o-                           .·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·
  //\      -o)                 '    Yannick JESTIN , PII CENA Toulouse   `
  V_/_     /\\                 .http://www.tls.cena.fr/~jestin/pubring.pgp 
          _\_V                 `·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.´¯`·.¸¸.´


Reply to: