If you have grep then: grep -v '^-*$' myfile.dat
If you don't then:
Get grep
Recent Threads
Attachments
Library
Quick Reference
Useful Links
Rules of Conduct
FAQs
Join the Forum
Archives
Sample Index
2003 Indexes