Michelle Konzack:
vincent:
brad:
cat /dos/filename | tr -d '\15\32' > /new/unix/filename
I've done that with all my .procmail and rc.files and everything is
working perfectly now, thanks for the hint !! :)
What about the tool 'dos2unix'
The tr-command that brad suggest, also removes DOS-EOF-characters
(Ctrl-Z, ASCII-26).
Not every system has dos2unix installed, try 'which dos2unix' or
'dos2unix -?' to see if it is there.
See also the -ll' option of zip.
Because all Ctrl-M's and Ctrl-Z's are removed, I would not want to use
that tr-command on all of my rc's, because some of them have an embedded
Ctrl-M or Ctrl-Z on purpose. dos2unix is safer, because it checks for
CR/LF-pairs. I have not tested dos2unix against CR/CR/LF-line endings.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail