- 帖子
- 18
- 积分
- 32
- 技术
- 1
- 捐助
- 0
- 注册时间
- 2017-3-24
|
D:\tmp>perl -lpe " $_ = $1. '=c:\windows' if( m/(SourcePath|NeedUpdatePath)/ ) " test.ini
[Path]
;产品名
Project=I7
;分支号
Branch=R1.2
;产品名+分支号
ProBranch=I7_R1.2
;源文件路径
SourcePath=c:\windows
;需更新文件路径
NeedUpdatePath=c:\windows |
|