LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-20-2003, 11:34 PM   #1
RockyRed
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
shishir
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

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