Jump to content

Replacing line breaks using Kate


Recommended Posts

Guest xaccrocheur
EDIT: I just discovered that if you select all the text in Kate, then issue the Ctrl-J, all the separate lines will be joined into one line.

 

WOW ! Man, you are my tonight's hero ! This "join" is just like the good old "J" in vi ! That's just GREAT.

 

No if I could only find a way to re-insert a line feed... See, I came to this topic looking for a way to replace *multiple line feeds* with onely one, like change this :

some line

some line

 

some line

 

 

some line

some line

 

some line

 

into this :

 

some line

some line

some line

some line

 

... But the "tr"-base cat command iddued in this very post is a GOOD guideline too. Thank you very much guys

 

pX

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...