I want to remove blank lines from text files. I'm simply trying to find a findstr
command-line switch to find the solution but I can't get it to work. Here are my files:
test2.html:
<script src="common/latest_updates/angular-slider.js"></script>
<script src="common/latest_updates//angular-list-group.js"></script>
blank space
<script src="common/latest_updates/jstree/jstree.js"></script>
<script src="common/latest_updates/jstree/ngJsTree.js"></script>
blank space
<script src="common/d3/ngFunnel.js"></script>
Script:
findstr /r /v "^$" test2.html >> test3.html