How to replace newline using sed

Sed Command replace newline

How can I replace a newline (\n)? sed ':a;N;$!ba;s/\n/ /g' filename 1) :a create a label 'a' 2) N append the next line to the pattern space 3) $! if not the last line, ba branch (go to) label 'a' 4) s substitute, /\n/ regex for new line, / / by a space, /g  ..

Welcome to SQBN

Welcome to SQBN

Welcome to SQBN  ..

What is financial managemant accounting

What is financial accounting

Financial Accounting For carrying out this type of accounting, professionals use guidelines laid down by certain financial institutions such as the Securities and Exchange Commission (SEC) and the International Accounting Standards Committee (IASC). A financial accountant is handed over the responsibility to assess financial conditions which would help companies determine  ..

What is fiduciary accounting

What is meant by fiduciary accounting

Fiduciary Accounting The task of fiduciary accounting is normally handed over to a trustee or an administrator in a non profit organization or a specific community. This accounting is likely to be administrated or initiated by the court. A fiduciary accountant performs traditional accounting duties like record maintenance, financial assessment,  ..

Hot tea chance for getting cancer

Hot tea chance for getting cancer

சூடா "டீ" (Tea) குடிப்பதால் வயிற்றில் "கேன்சர்" (Cancer) வரும் அபாயம் உள்ளது சூடா "டீ" (Tea) குடிப்பதால் வயிற்றில் "கேன்சர்" (Cancer) வரும் அபாயம் உள்ளது என்று இந்திய நிபுணர்கள் ஆய்வில் கண்டுபிடித்துள்ளனர். ஆய்வின் முடிவில் அவர்கள் கூறியிருக்கும் சில தகவல்கள்: வாய் முதல் இரப்பை வரை உள்ள குழாய் மிக மிக மிருதுவானது. குறிப்பிட்ட அளவில்தான் அக்குழாய் சூட்டைத் தாங்கும். அதிக சூடாகசூடா "டீ" (Tea) குடிப்பதால்  ..

Albert szent gyorgyi 118th birthday

Googles Doodle on 16-09-2011

A pair of oranges find a place of pride on the Google home page in commemoration of the 118th birthday of Albert Szent-Gyorgyi. The Hungarian physiologist credited with discovering vitamin C and also the components and reactions of the citric acid cycle was honoured with the Nobel Prize in Physiology  ..

Rhino horns can grow back rhinoceros

Horns of rhinoceros

Rhino horns, unlike those of cattle and antelopes, have no bony core. They consist merely of compressed keratin fibers similar to our fingernails. If broken or cut, the horn can grow back within a couple years.   ..

Cat is a only domestic animal not mentioned in bible

Animal not mentioned in bible

The only domestic animal not mentioned in the Bible is the cat.   ..

Kangaroos cant walk backwards

Analog clock

=> Kangaroos and Emus can't walk backwards. => Butterflies taste food by standing on top of it! Their taste receptors are in their feet unlike humans who have most on their tongue. => Most of the dust in your home is actually dead skin! Yuck! => Although the Stegosaurus dinosaur was over 9  ..

Advantages and disadvantages of seo

Importance of Search Engine Optimization

Advantages of Search Engine Optimization => Targeted traffic => Works almost all niches => Long term traffic => Great Return on Investment (ROI) => High quality traffic => There's no need for a popular profile to get traffic Disadvantages of Search Engine Optimization => The process of SEO takes time and effort => Contents need to be readable  ..

Rainy frogs and toads

Jellyfish fell from the sky

In four separate instances between October 1987 and February 1988, small pink frogs rained down from the sky on to various parts of Great Britain. Source: The World's Most Incredible Stories, 1998, page 66. Yes, this has happened and some scientists have tried to explain the phenomenon. More recently, a scientific explanation for  ..

What is homoeopathy

What are Cancers

Homoeopathy is a system of Medicine, discovered by Dr. C.F.S. Hahnemann based on the axiom Similia Similibus Curenter. Recent advances in Homoeopathic System of Medicine has shown better prognosis towards diseases like Cancer, Hepatitis and HIV. Homoeopathic Medicines are much better than Medicines from Modern Medicines because they are precise in  ..

How to disable display of networked drives

NoDrives using regedit

To disable the display of local or networked drives when you click My Computer, go to: Select Start => Run => type "regedit" without quotes to launch regedit. HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer Now in the right pane create a new DWORD item and name it NoDrives. Now modify it's value and set it to 3FFFFFF  ..

Chinese american wafer cookie

Fortune Cookies

A tasty Chinese-American wafer cookie with a piece of paper inside with a fortune written on it. Fortune means Some historians think that the inspiration for Fortune Cookies come from the 12th and 13th centuries when Chinese soldiers slipped rice paper messages into mooncakes to help coordinate their defense against Mongolian  ..

Varalakshmi vratham history

Charumathi in Kundina

In the kingdom of Magadha of yore, there lived a brahmin woman called Charumathi in a town named Kundina. The prosperous town was the home of Charumathi and her husband. She devotedly served her husband and her parents-in-law. Impressed by her piety, Goddess Mahalakshmi appeared in her dream and  ..

1 2 3 Next

Tech Bluff