← Back to team overview

sslug-teknik team mailing list archive

Re: hvordan fjerner man en CR

 

Pluto kan det också, bland annat:

pt(1)                                                       pt(1)

NAME
       pt - Pluto Text file utility

SYNOPSIS
       pt [-options] file...

DESCRIPTION
       pt  is  a simple and easy to use utility that performs various opera­
       tion on text files. One or many files, wildcard allowed, can be spec­
       ified  in command line. If no file is specified, standard input (con­
       sole) is taken as default input, and standard output as output  file.

       -u     Convert  to  UN*X  text  file format. Every enter will be con­
              verted to a newline character. All  format  translation  func­
              tions works on all three formats as well.

       -d     Convert  to  DOS   text  file format. Every enter will be con­
              verted to a carriage return plus a newline characters.

       -m     Convert to MAC  text file format. Every  enter  will  be  con­
              verted to a carriage return character.

       -e     Remove  Enters  that  are  not at the end of a paragraph. This
              function will transform all the enter found inside a paragraph
              to a space.

Med annat mera.

ftp://ftp.pluto.linux.it/pub/pluto/developers/utils/pt-0.5.tar.Z

Finns kanske nyare utgåva någon annan stans, t.ex. på vanliga
linuxdistributions-CD.

Meyland Peter <PME@xxxxxxxxxx> writes:
> 
> Et lille tåbeligt spørgsmål. Hvordan pokker fjerner man CR fra en DOS tekst
> fil?

-- 
Erik Jonsson <emil1000@xxxxxxx>
http://www.geocities.com/generaldepoten/tirox.html
http://www.geocities.com/generaldepoten/vkt/index.html
http://www.geocities.com/generaldepoten/txb/index.html


Follow ups

References