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

Re: automatically deleting ^M on text files



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 line feeds. Just run dos2unix (found in the sysutils
package) on the file.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     bcollins@debian.org  --  bcollins@openldap.org  --  bmc@visi.net     '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: