Re: automatically deleting ^M on text files

2000-03-17 Thread esoR ocsirF
On Fri, Mar 17, 2000 at 09:11:19AM +0900, Olaf Meeuwissen wrote: > Yannick Jestin <[EMAIL PROTECTED]> writes: > > Would you care to enlighten me and the rest of the list? The original > file is only removed if `tr' succeeded. > > For reference, I suggested: > > for file in *; do > mv $fil

Re: automatically deleting ^M on text files

2000-03-17 Thread Olaf Meeuwissen
Yannick Jestin <[EMAIL PROTECTED]> writes: > > t s a d i <[EMAIL PROTECTED]> 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 ! Would you care to enlighten

Re: automatically deleting ^M on text files

2000-03-16 Thread Yannick Jestin
> t s a d i <[EMAIL PROTECTED]> 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. $ dos2

Re: automatically deleting ^M on text files

2000-03-16 Thread Olaf Meeuwissen
Olaf Meeuwissen <[EMAIL PROTECTED]> writes: > t s a d i <[EMAIL PROTECTED]> writes: > > > i have a truckload oftext files (.html) that i need to edit and it > > has the character "^M" all over it (caused when someone uploads a text > > file and the ftp transfer is set to binary). > > > >

Re: automatically deleting ^M on text files

2000-03-16 Thread Olaf Meeuwissen
t s a d i <[EMAIL PROTECTED]> writes: > i have a truckload oftext files (.html) that i need to edit and it > has the character "^M" all over it (caused when someone uploads a text > file and the ftp transfer is set to binary). > > does anyone know of a way to automate this ? At your shel

Re: automatically deleting ^M on text files

2000-03-16 Thread Ben Collins
On Thu, Mar 16, 2000 at 12:34:17AM -0800, t s a d i wrote: > hello everyone ... > > i have a truckload oftext files (.html) that i need to edit and it > has the character "^M" all over it (caused when someone uploads a text > file and the ftp transfer is set to binary). > Also known as DOS l

automatically deleting ^M on text files

2000-03-16 Thread t s a d i
hello everyone ... i have a truckload oftext files (.html) that i need to edit and it has the character "^M" all over it (caused when someone uploads a text file and the ftp transfer is set to binary). does anyone know of a way to automate this ? thanks a lot, chad ps: pls cc me the rep