Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$3是第三列,.txt其中代表我的电子邮件地址列。为什么输出以下语句"$3"而不是电子邮件地址?:
$3
.txt
"$3"
print " <td><a href=mailto:>$3</a></td>"
我处于静止状态。
因为您正在打印文字字符串,所以您想要的是:
print " <td><a href=mailto:>"$3"</a></td>"