New to this so go easy on me
I use wget to grab a file from the net and output it to foo.txt
i then use sed to strip out html tags and then another to remove tabs from the file so I end up with something like this:
06:05
CIENCIA FICCIÓN
Ladrones de identidad: La parte más noble del valor
06:50
CIENCIA FICCIÓN
Expediente X: Nuestra ciudad
As you see there are unwanted blank lines in the file (foo.txt)
Using sed and awk i've tried in vain to remove these but it just won't do it.
Strange thing - if i open foo.txt in a text editor and make a small change then save it THEN run sed to remove the blank lines, it does it perfectly!!
Any help is appreciated.
Larry