Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Often I need to remove what is known as hard returns at the end of a line of text. The idea is join a line of text with the line above it.
I've not found an easy way to do this with a linux word processor, or text editor. Unfortunately, I have to use Textpad32 with Playonlinux. In Textpad32 selecting a paragraph then pressing Ctrl+Shift+J connects lines. Or to use Stripmail.
Does anyone know of a Linux programme that will do the job as easy instead of resorting to Windows programmes?
Last edited by moshebagelfresser; 04-19-2017 at 05:00 AM.
As always, there are a bunch of ways of doing this. As (almost) always, we have insufficient information to work with. Select lines only - all lines (entire document on one line), all of a paragraph, all paragraphs, or only a subset ... ?.
sed. awk, perl, no doubt python ... we can offer more with some representative data and the required output.
I see nothing in your initial post to indicate change of case was required. paste will trivially handle that, but not the case change. Maybe lower-case the lot then fix the first character.
I have just installed a graphical Linux programme called Editra v0.7.20. In the Edit Menu, there is a Line Edit option Join Lines. If it works then this is just what I need.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.