Anne Tuchscherer wrote:
> To get rid of the ^M character in the existing files if you don't want
> to re-ftp them do the following.
>
> In a vi session for each file type the following
> :1,$s/^V^M// (colon one comma dollarsign s slash CTRL-V CTRL-M slash
> slash)
>
> The CTRL-V won't show on the screen. It is an escape sequence to allow
> to type the CTRL-M. This line will replace all the CTRL-M's with nothing.
Actually, the ^V will show up as a "^" on the bottom line. Then it
gets replaced by the following character as a literal (works with ESC,
etc, too).
And if you want to do this on the Windoze box to re-burn the CD,
download a copy of Vim (
www.vim.org). Vi Improved on Windoze and
other platforms. Schweeet. Then you can fix the files, recreate
the CD and redistribute.
--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
__________________________________________________ ______________________