Missing utility pkg

Gene Heskett gheskett at wdtv.com
Fri Nov 9 09:43:34 UTC 2012


On Friday 09 November 2012 04:40:31 Marius Gedminas did opine:

> On Thu, Nov 08, 2012 at 07:48:37PM +0100, Nils Kassube wrote:
> > David Fletcher wrote:
> > > On Thu, 2012-11-08 at 07:22 -0500, Gene Heskett wrote:
> > > > As I half expected, but synaptic doesn't admit it exists. The
> > > > listing I see here under All goes from "doom-wad-shareware" to
> > > > "dosemu". Flat out missing is dos2unix.
> 
> ...
> 
> > Probably not - Gene uses 10.04 LTS and there is no package dos2unix.
> > Anyway, from the good old days of SUSE I remember there were aliases
> > to do the same with recode. I suppose that would be good enough for
> > Gene.
> > 
> > >From <http://www.tgunkel.de/it/software/doc/cmds_linux_unix.en>:
> > alias unix2dos='recode lat1..ibmpc'
> > alias dos2unix='recode ibmpc..lat1'
> > 
> > Of course the package recode is needed to use the aliases above.
> 
> Note that this does something entirely different: conversions between
> two obsolete character sets (ISO-8859-1 and cp437).
> 
> The dos2unix package does line ending conversions (CRLF -> LF).
> 
Which would have not had the desired effect, I wanted a simple cr to lf, 
and conversely pair of functions. tr does this nicely.

> Marius Gedminas


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
Two percent of zero is almost nothing.




More information about the ubuntu-users mailing list