nick34992
2/22/2017 - 6:23 PM

Bash: cat -s: Remove Blank Lines

Bash: cat -s: Remove Blank Lines

#!/bin/bash

cat spaced.txt | tr -s '\n'