[问题]奇怪我用grep是不是有问题了?
发表于 : 2008-05-14 18:53
test="the number is -0.123"
echo $test | grep " the number is -0.123"
结果居然不显示,大家看看按道理我已经用“ “将负号"-"转意了怎么还不能匹配查找阿?
echo $test | grep " the number is -0.123"
结果居然不显示,大家看看按道理我已经用“ “将负号"-"转意了怎么还不能匹配查找阿?