__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
" Vim script to fix duplicate words in a .dic file vim: set ft=vim:
"
" Usage: Edit the .dic file and source this script.
let deleted = 0
" Start below the word count.
let lnum = 2
while lnum <= line('$')
let word = getline(lnum)
if word !~ '/'
if search('^' . word . '/', 'w') != 0
let deleted += 1
exe lnum . "d"
continue " don't increment lnum, it's already at the next word
endif
endif
if lnum%1000 == 0
echon "\r Processing line ".lnum. printf(" [ %02d%%]", lnum*100/line('$'))
endif
let lnum += 1
endwhile
if deleted == 0
echomsg "No duplicate words found"
elseif deleted == 1
echomsg "Deleted 1 duplicate word"
else
echomsg printf("Deleted %d duplicate words", deleted)
endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| check_locales.vim | File | 463 B | 0644 |
|
| cleanadd.vim | File | 934 B | 0644 |
|
| en.ascii.spl | File | 604.53 KB | 0644 |
|
| en.ascii.sug | File | 583.21 KB | 0644 |
|
| en.latin1.spl | File | 606.62 KB | 0644 |
|
| en.latin1.sug | File | 583.96 KB | 0644 |
|
| en.utf-8.spl | File | 607.05 KB | 0644 |
|
| en.utf-8.sug | File | 583.96 KB | 0644 |
|
| fixdup.vim | File | 736 B | 0644 |
|
| he.vim | File | 240 B | 0644 |
|
| spell.vim | File | 118 B | 0644 |
|
| yi.vim | File | 241 B | 0644 |
|