1.开头
#!/bin/sh
2.分析properties文件
thepath=/some.properties
a=`grep “some.value” $thepath`
echo $a
本文介绍如何使用Shell脚本解析properties文件,通过grep命令查找特定值,并将其输出。
1.开头
#!/bin/sh
2.分析properties文件
thepath=/some.properties
a=`grep “some.value” $thepath`
echo $a
33万+
2万+

被折叠的 条评论
为什么被折叠?