in reply to d/l code problem

^M is dos/win eol (cr or lf, which ever *nix doesn't have). vi would use Ctrl-VCtrl-M (Ctrl-V to start "special char next" mode, Ctrl-M for the special char), so:
:1,$s/ctrl-VCtrl-M//
would do it. Otherwise,
perl -i -pe 'chomp; print "$_\n"' chatterbox.pl
might also work.

a (opus 100)

Replies are listed 'Best First'.
Re: Re: d/l code problem
by cajun (Chaplain) on Jan 30, 2001 at 10:49 UTC
    PERFECT !! Thanks very much a. Your gvm solution worked fine !