In Feburary 2016 28,
Open a terminal. The procedure to do this will depend on your operating system. Most Unix and Linux systems either open a terminal immediately on start up or have a terminal icon somewhere on the desktop. In Mac OS X, click the 'Spotlight' button and type 'Terminal.' In Windows, click 'Start,' 'Run' and type 'cmd.'
Type the following :sed '/$/G'This tells sed to search the text for all end of lines ($) and add a new line (G), effectively double-spacing the file. Alternatively, if you want to insure that there is never more than one blank line between paragraphs, change the command to read:sed '/^$/d;G' This tells sed to match only completely blank lines (^$), delete those blank lines (d) and replace them with a single new line (G).
Feed the data from a text file into sed by typing the following:cat textfile.txt | sed '/^$/d;G'
In Feburary 2016 28,