LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2009, 11:30 AM   #1
adrian2009
Member
 
Registered: May 2009
Posts: 40

Rep: Reputation: 15
kwrite - how to delete spaces


I am working on some lists with kwrite, and i have ecountered a problem, still don't know how to solve it.

There is a text list that contains some statements, and they are sorted like this:

somedatahere1
(blank space here)
(blank space here)
...
(blank space here)
somedatahere2
(blank space here)
...

and so on. I need to find a way to change it to this:
somedatahere1,somedatahere2,...
i.e I need to delete the blank spaces somehow.
Can somebody help me ?

Thanks.
 
Old 06-13-2009, 11:35 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
use regular expressions ...Kwrite --> edit --> replace ---> (use the regular expression editor)
 
  


Reply


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
Spaces and escaped spaces pslacerda Linux - Newbie 13 12-20-2008 09:03 AM
kwrite oeinar Linux - Newbie 1 11-12-2008 02:55 PM
KWrite problem totti10 Linux - Software 2 10-31-2004 02:30 PM
how to get a compiler for kwrite red_deb Programming 1 02-23-2004 06:33 AM
kwrite permission ronss Linux - Software 10 09-13-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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