[操作疑難] 呢個Grep應該係點寫

想grep

「N」

N=N個字(數字/英文/中文)

係點寫 ? thanks

extra option o
  1. grep -Eo '「.{19}」'  target_file.txt
複製代碼

TOP

有好多可能,簡單啲係咁where 19 is the number of char (數字/英文/中文/special char)
cal22cal 發表於 2017-8-21 08:29

唔識停係  」  到
」  後面既野照出
thanks

TOP

有好多可能,簡單啲係咁
  1. grep -E '「.{19}」'  target_file.txt
複製代碼
where 19 is the number of char (數字/英文/中文/special char)

TOP