我已经尝试了30分钟,但是这段代码出现了什么问题?:(
var = `cat marktplatz.html | grep -m 1 "post" | grep -o -E '\b(jobs/.*htm)' `
输出:
var: command not found
我已经尝试了30分钟,但是这段代码出现了什么问题?:(
var = `cat marktplatz.html | grep -m 1 "post" | grep -o -E '\b(jobs/.*htm)' `
输出:
var: command not found
grep -m 1 "post" < marktplatz.html | grep -o -E '\b(jobs/.*htm)'
-- 或者甚至可以写成< marktplatz.html grep -m 1 "post" | grep -o -E '\b(jobs/.*htm)'
。 - Keith Thompson