Re: Script polluted by DOS formatting

2007-07-13 Thread William Pursell
Mike McCarty wrote: William Pursell wrote: When you open the file in vim, type: :set fileformat It will probably report: fileformat=dos Then type :set fileformat=unix When you write the file, the dos style line terminators will be replaced by only. I suppose you mistyped " only". Act

Re: Script polluted by DOS formatting

2007-07-12 Thread Mike McCarty
William Pursell wrote: Francesco Pietra wrote: A script downloaded to a desktop i386/etch/gnome from Amber web site, edited on the desktop with gnome text editor, then sent scp to a computing machine amd64, turned out to be polluted by DOS formatting. The computing program was prevented from

Re: Script polluted by DOS formatting

2007-07-12 Thread William Pursell
Francesco Pietra wrote: A script downloaded to a desktop i386/etch/gnome from Amber web site, edited on the desktop with gnome text editor, then sent scp to a computing machine amd64, turned out to be polluted by DOS formatting. The computing program was prevented from reading the polluted lines

Re: Script polluted by DOS formatting

2007-07-12 Thread Bob McGowan
Francesco Pietra wrote: I'm leaving you CC'd on this, something I don't usually do, as I want to be sure you get this. Apologies if you are subscribed and get mail twice. A script downloaded to a desktop i386/etch/gnome from Amber web site, edited on the desktop with gnome text editor, then

Script polluted by DOS formatting

2007-07-12 Thread Francesco Pietra
A script downloaded to a desktop i386/etch/gnome from Amber web site, edited on the desktop with gnome text editor, then sent scp to a computing machine amd64, turned out to be polluted by DOS formatting. The computing program was prevented from reading the polluted lines. I tried dos2unix scrip