Category Archives: sed

sed 筆記

每第9個”;”換行 Ref: http://arstechnica.com/civis/viewtopic.php?f=20&t=370486 sed -E ‘s/(([^;];){8}[^;]);/1n/g’ sed.txt 擷取 plist= 與 ;erUid 中間的字串 sed -e ‘s/.plist=(.);erUid.*/1/p’

Posted in sed | Leave a comment