大牛 in Perl and SED?# Programming - 葵花宝典
d*o
1 楼
我知道
$yyy = anything;
$replace = “sed `s/XXX/$yyy/g` file1 > file2;
但在下面的 “.” 甚摸意思呢? (结果是一样的. Code written by someone else)
$yyy = anything;
$replace = “sed `”.”s/XXX/”.$yyy.”/g` file1 > file2;
$yyy = anything;
$replace = “sed `s/XXX/$yyy/g` file1 > file2;
但在下面的 “.” 甚摸意思呢? (结果是一样的. Code written by someone else)
$yyy = anything;
$replace = “sed `”.”s/XXX/”.$yyy.”/g` file1 > file2;