Re: newbie tip
On Mon, Jul 02, 2001 at 03:24:33PM +0200, Carel Fellinger wrote:
> On Sun, Jul 01, 2001 at 09:32:38PM -0500, will trillich wrote:
> ...
> > but i don't have "dos2unix" on my debian potato, and i'm not
> > having a great deal of luck finding it at packages.debian.org
> > either... all i find is 'sysutils' but:
> >
> > $ apt-cache show sysutils
> > This is a package incorporating various small utilities which are:
> > * procinfo - Displays system information from /proc (v16).
> > * memtest - Test system memory for errors (v1.0.1).
> > * bogo - Shows the current bogomips rating without rebooting (v1.2).
> > * tofromdos - Converts DOS <-> Unix text files (v1.4).
>
> bingo, that's the one. It provides dos2unix and unix2dos as links to
> the real meat.
so, then, we should lynch whomever provided the package
description. it looks like it's got four programs, among which
dos2unix is nowhere to be found.
--
ricking another nomenclature religious barrage, here's a related
tip:
--
DEBIAN NEWBIE TIP #46 from Will Trillich <will@serensoft.com>
:
Troubled by MAC-FORMAT TEXT FILES? There are many ways
to translate CR to LF. VIM can help, with these steps:
:set ffs=mac
:e!
:set ff=unix
and then save/write the file (":opt" for more info).
In perl, this'll do the trick:
perl -pi.mac -l12 -015 -e ';' filename*pattern.txt
(that's a <hyphen-el-one-two> and <hyphen-zero-one-five>, by
the way -- see "perldoc perlrun" for more info.)
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: