|
|
| Title | SortComments |
| File Name | SortComments.txt |
| Description | Sort descript.ion alphabetically according to file names |
| Author | Vochomurka |
| Parameters | "%P" |
| Plugins Called | file, vec |
| Icon |
|
| Version | 1.0 |
| Updated on | 05.04.2009 |
local Source = arg(1) ++ "descript.ion"
if(not file.validpath(Source)) do
messagebox("ok error", "File " ++ Source ++ " is missing", "No comment file")
quit
endif
local Str = file.readall(Source)
local v = vec.createfromlines(Str)
if(v <= 0) do
messagebox("ok error", "Vector not created", "VEC plugin error #1")
quit
endif
vec.sortstring(v)
Str = vec.makelines(v)
file.writeall(Source, Str)
vec.unload
|
Main Page |
|
Total Commander |
|
PowerPro |
|
|