Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2003, 11:34 PM   #1
LQ Newbie
Registered: Jul 2003
Location: Auckland NZ
Distribution: Ubuntu10.04
Posts: 8

Rep: Reputation: 1
Kword: How to remove carriage returns?

In Kword If I have text that has carriage returns for each
line, how do I remove them to create text with word wrap?

I tried to do this with search and replace but it does not
seem to replace pattern (hidden or formatting characters).

I wrote my own macro to do this in word. Can you do
similar things in Kword? If so where do I find out how?

I also have macros in word to take an email -cut of the ads
and format it in word and offer to save it under the title
and also to print in different text sizes for relatives
and friends I send them to. Can I do the same things
in Kword? or should I use another open source word
processor. If so which?
Old 07-21-2003, 06:52 AM   #2
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
use a utility named dos2unix..
pass this ^M containing file to it..
the application will strip these enters


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding carriage returns Zxarr Programming 7 09-20-2005 05:44 AM
How to remove carriage returns in a bunch of perl scripts? rebel Red Hat 4 04-12-2005 02:27 PM
Carriage Returns Thorkyl Linux - Software 7 06-28-2004 05:42 PM
XDrawString and carriage returns jpbarto Programming 1 03-25-2004 03:07 PM
Carriage Returns Trouble sancho5 Linux - General 2 08-29-2001 08:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration