Unix & Linux
Unix & Linux Meta
to customize your list.
more stack exchange communities
Start here for a quick overview of the site
Detailed answers to any questions you might have
Discuss the workings and policies of this site
Unix & Linux
Removing consecutive newlines with ed
Input file: 1 line1\ 2 line2\ 3 line3\ 4 \ 5 line4\ 6 \ 7 \ 8 line5\ Desired output: 1 line1 2 line2 3 line3 4 5 line4 6 7 line5 Is it possible with POSIX ed? Removing the trailing backslashes ...
Dec 9 '12 at 17:05
newest newlines ed questions feed
Hot Network Questions
In a Commutative Ring, is Addition Necessarily Commutative?
How to remove a specific character in a string but only if there are no numbers in that line in Linux
How to politely communicate that I really can learn well only if I do it myself?
Why is alpha particle called a particle when it is a pair of four particles?
Can IS DISTINCT FROM be combined with ANY somehow?
Real English, Cleaning Meaning Sexual Intercourse
Why is "distro", rather than "distri", short for "distribution" in Linux world?
Explaining the difference between computer science and computer literacy
How can I use AJAX to check whether a user has Development Mode enabled?
Cisco callmanager SIP features
How secure is Java's hashCode()?
Examples of mathematical results discovered "late"
Project Manager asks for complete 100% confidence everytime committing code
Why am I wrong about how to view gauge theory?
Where are the functions in the C standard library defined?
"Read more" link bad or good for SEO?
Why is Euler's Totient function always even?
Assessing the value of an ETF
What was SpaceX's original vision for booster reusability?
How do I find my internal ip address on Ubuntu server 12.04?
Multiply each element of an array by another array?
What to do if assignment is against student's religion?
Al Gore won't leave me alone. How do I unfriend someone on Facebook?
What do rodents do?
more hot questions
Life / Arts
Culture / Recreation
TeX - LaTeX
Unix & Linux
Ask Different (Apple)
Geographic Information Systems
Science Fiction & Fantasy
Seasoned Advice (cooking)
Personal Finance & Money
English Language & Usage
Mi Yodeya (Judaism)
Cross Validated (stats)
Theoretical Computer Science
Meta Stack Overflow
Stack Overflow Careers
site design / logo © 2014 stack exchange inc; user contributions licensed under
cc by-sa 3.0
Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.