提交 d235c814 authored 作者: Andrew Thompson's avatar Andrew Thompson

Add some instructions to set_cid_name.lua

上级 abad0008
--[[
set_cid_name.lua
Call like this:
<action application="lua" data="set_cid_name.lua /path/to/file.csv"/>
Notes:
The script currently expects the csv file to be laid out as:
1NPANXXXXXX,Caller Name
I export contacts from my Google account for this. That script will be available soon.
]]
require "split" -- I'm using the python-like example from http://lua-users.org/wiki/SplitJoin require "split" -- I'm using the python-like example from http://lua-users.org/wiki/SplitJoin
require "trim" -- I'm using trim9 example from http://lua-users.org/wiki/StringTrim require "trim" -- I'm using trim9 example from http://lua-users.org/wiki/StringTrim
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论