I have a 210-line block of HTML that I have stored in a HTML for debugging purposes.
The HTML, as you would expect, is formatted accordingly so is stored in the file with spaces and tabs. Is it possible to convert this file to having all the HTML on one line? I am on CentOS 5.6.
For example, is there an easy way to change this:
<div id="crmpicco">
<div class="ayrshireminis">
... content in here ...
</div>
</div>
to this:
<div id="crmpicco"><div class="ayrshireminis"></div></div>
