掃 曲線

| | Comments (0)

有一個檔的內容是


曲線

在 linux 下, LC_CTYPE 設 en_US 的話
grep 掃 file 的結果, 兩個都能找到, 因為"曲"的後半+"線"的前半剛好等於"掃"
只要設 LC_CTYPE=zh_TW 就能讓 grep 認得中文
grep 掃 file 的結果, 就不會出現"曲線"

但是在 FreeBSD 下我試不出來, setenv LC_CTYPE zh_TW 還是 zh_TW.Big5 後,
還是沒效果

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on June 17, 2004 1:58 PM.

Mouse Gestures was the previous entry in this blog.

New Kernel Crash-Exploit discovered is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.