Find Jobs
Hire Freelancers

config file parsing

$10-30 USD

已关闭
已发布将近 9 年前

$10-30 USD

货到付款
Create a augeas ([login to view URL]) lense ([login to view URL]) for UCI ([login to view URL]). The UCI example configuration file must successfuly be parsed and used with augeas tool. Augeas test script must be provided as well and it must work with augparse tool. Please keep in mind comments and both quotes and double quotes which should be handled as well. The following example should be placed in /etc/config/example package 'example' config 'example' 'test' option 'bla' 'toto' option 'asdf' 'fdsa' list 'my_list' 'first item' list my_list item # comment2 # comment3 config example2b "test2" # comment123 option foo test321 option bar test123 list 'my_list' 'first item' # comment list my_list item # this is a comment - option in_comment 'asdf' When executed 'uci show example' I get the following output: example.test=example example.test.bla='toto' example.test.asdf='fdsa' example.test.my_list='first item' 'item' example.test2=example2b example.test2.foo='test321' example.test2.bar='test123' example.test2.my_list='first item' 'item' Inside augeas lense I must easily manually modify configuration section, option and list. That is needed in order to have augeas auto completition working with augtool. augtool should be able to edit configuration above like: get etc/config/example/example/1/bla And the result would be toto. Another example query would be: get etc/config/example/example2b/1/foo With the result test321. Also we need to handle the configuration section name somehow, such as test2 in case of example2b. Installing UCI tool is not needed but might come handy. Please let me know if there are any questions.
项目 ID: 7606150

关于此项目

3提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
3威客以平均价$167 USD来参与此工作竞价
用户头像
Dear sir, I read your project description. I am sure I can do this for you, in a timely manner. Please take a look at my profile, here is my skillset as well as more informations about me. https://www.freelancer.com/u/thms00.html This is simple tasks using "sed" tools, I can do a bash script to automate what you want to replace as well. Please come and have a PM chat with me, I am kind and helpful. Willing to start right-away! Regards,
$34 USD 在0天之内
4.9 (15条评论)
3.6
3.6
用户头像
I have experience with functional programming and know Boomerang / Harmony. But, getting into Augeas will take some time.
$244 USD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$222 USD 在5天之内
0.0 (0条评论)
0.0
0.0

关于客户

CROATIA的国旗
Zagreb, Croatia
5.0
9
付款方式已验证
会员自11月 21, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。