看板 Perl 關於我們 聯絡資訊
a.txt <a Name='URL_google.com.tw' xxxxxxx></a> cat a.txt | perl -ne 'print $1 if /.*Name=.URL_(.*)'.*/' 不過這裡發現 perl 在單引號內不可以在用單引號, 用跳脫字元 \' 也跳不掉 \ 只可以用在雙引號內 ? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.146.33.171
cutecpu:想知道 +1 02/11 00:05
dingyuchi:tcsh ? 02/15 21:02
buganini:\\ ? 他會經過兩個parser, shell and perl 02/27 05:53