SuperEdi

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Raduga (English)
Song Requester

Text Cleanup

Posted on: SuperEdi

From Message

andries

2006-02-12 08:07:06

Text Cleanup

Could you perhaps help out with a SuperEdi script which can do the following with a huge merged master hosts file?
* Reduce al tabs to spaces
* Reduce all spaces to single spaces
* Remove all end-of-line spaces (spaces between entry and carriage return).
* Remove all blank lines.
* Place all comments (entries preceded by #) in a new line.
Here's the format of a typical entry:
127.0.0.1 badsite.com # trojans, worms and dialers.
I merge and update the six top hosts files monthly and doing all the above manually is a schlep.
Can SuperEdi do it all with a singe click?
Andries

Post a reply to this message: