A formatting query
alfred at mazuma.net.au
Thu Feb 6 07:26:21 EST 2003
grab "dos2unix" (its on freshmeat). It does the job well.
You could also easily hack something up using perl/sed/et al...
Personally I find it easier to install the dos2unix rpm :)
Felix Karpfen wrote:
> Is there a <search-and replace routine|vim plugin> that will convert a
> formatted text file from the Unix to the DOS format? I have a hazy
> recollection that one uses NL and the other uses NL/CR.
> I could supply a longwinded background story about why this is of
> interest, but do not wish to weary CLUG list readers, who might be able
> to answer this query off the cuff.
> Felix Karpfen
More information about the linux