Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

wordpressã®ãã¼ããªã³ã¯ãã¿ã¤ãã«ã«ãã¦ãã¾ã£ãé¢ä¿ã§ãapacheã®ãã°ãURLã¨ã³ã³ã¼ããããç¶æ ã§åºåããé常ã«å¯èªæ§ãæªãã ãããªã«æ°ã«ãã¦ãªãã£ããããã£ã±ãã©ã®è¨äºãè¦ã¦ãã®ãããããªãã®ã§ãç°¡åãªã¯ã³ã©ã¤ãã¼ç¡ãããªã¨èª¿ã¹ãã ã¯ã³ã©ã¤ãã¼ãªãperlã ããã¨æã£ã¦ããããç°¡åããã§è¡ãçããã®ã¯ãrubyã ã£ãã 以ä¸
ååããã®ç¶ãã æ¹è¡ã³ã¼ãã®éããä½æãã¦ã¿ã - ã¶ãªã¬ããè¦ã¦ãã...ã æåã¨ã³ã³ã¼ãã¨ãã±ã¼ã«ãä½æãã - ã¶ãªã¬ããè¦ã¦ãã...ã æ¹è¡ã³ã¼ãã®éããç¥ã£ããæåã³ã¼ãã¨ãã±ã¼ã«ãã¿ã¼ããã«ã®è¨èªç°å¢ã¨ã®é¢ä¿ãç¥ã£ããããã§æåã«ã¾ã¤ããæ©ã¿ã¨ã¯ãããã°ã§ããã¨æã£ãããã¾ã ãã¡ã ã£ã...ã å®é¨ç°å¢ OSX 10.8 Mountain Lion以å((OSX 10.9 Mavericksã§ã¯ãMacä»æ§ãªNFDã®UTF-8ã表示ãããã¨ããã¨ã¨ã©ã¼ã«ãªã£ã¦ãã¾ã£ãããã10.8以åã®ç°å¢ã§å®é¨ãããAssertion failed: (width > 0), function conv_c, file /SourceCache/shell_cmds/shell_cmds-175/hexdump/conv.c, line 137. ** ** Abort trap: 6
Linuxç°å¢ã§ã®æ¹è¡ã³ã¼ãã®å¤æã«é¢ããã¡ã¢ã§ããLinuxã§æ±ãæ¹è¡ã³ã¼ãã¯LFã®ãããWindowsã§ã®æ¹è¡ã³ã¼ãCRLFãæ··ãã£ã¦ããã¨æ£ããåä½ããªããã¨ãããã¾ãã unixâdos æ¹è¡ã³ã¼ããç°¡åã«å¤æãã¦ãããã³ãã³ãã2ã¤åå¨ãã¾ãã unix2dos ãã¡ã¤ã«å dos2unix ãã¡ã¤ã«å dos2unixã¯ãCRLFãLFã«å¤æãã¾ããunix2dosã¯LFãCRLFã«å¤æãã¾ãã trã³ãã³ã trã¯ãæååã®ç½®æç¨ã³ãã³ãã§ãããã®ä»ã«ã-dãªãã·ã§ã³ãä»ãããã¨ã§å¼æ°ãåé¤ããã¢ã¼ãã«ããªãã¾ãã tr -d '^M' < crlf.txt > lf.txt ã^Mãã¯ãC-Vå¾ã«C-Mãã§å ¥åã§ãã¾ããããã¯CRãæå³ããããã§ããå ¥åã¨åºåã®ãã¡ã¤ã«ãåä¸ã®å ´åã0ãã¤ãã«ãªã£ã¦ãã¾ã£ãã®ã§ãå¥ãã¡ã¤ã«ã«åºåãã¦ãã¾ãã nkfã³ãã³ã nkfã¯ãæåã³
æ å ±åéã¯ãã¸ãã¹ãã³ã¨ãã¦ã®åºæ¬ã§ããããããæ®æ®µã·ã§ã«ã§ä½æ¥ããè ã¨ãã¦ã¯ãæ¯åãã©ã¦ã¶ãç«ã¡ä¸ããæéããä¸æ¯ã§ããããã£ã¦ãã·ã§ã«ããä¸ç¬ã§æ å ±åéã§ããRubyã®ã¯ã³ã©ã¤ãã¼ãæ¸ããã ä¸ããYahoo, ã¯ã¦ãª, Naverã¾ã¨ã, 2ã¡ãã $ ruby -r open-uri -e 'open("http://www.yahoo.co.jp").read.scan(/topics.+?>([^<]+?)</) {|m| puts m}' $ ruby -r open-uri -e 'open("http://b.hatena.ne.jp/hotentry").read.scan(/entry-link.+>(.+?)</) {|m| puts m}' $ ruby -r open-uri -e 'open("http://matome.naver.jp/").read.sc
NKFããã¸ã§ã¯ãã¯20æ¥ãæåã³ã¼ãå¤æç¨ã³ãã³ãã®ææ°çãnkf 2.0.9ããå ¬éãããUNIXç³»OSæ±ç¨ã®ã½ã¼ã¹ã³ã¼ãã¯ãzlibã©ã¤ã»ã³ã¹ã®ãã¨ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã¨ãã¦æä¾ãããã 2007å¹´7æ以æ¥ç´1å¹´åã¶ãã¨ãªãä»åã®ãªãªã¼ã¹ã§ã¯ãæ°ãã«ã-Z4ããªãã·ã§ã³ã追å ãJIS X 0208 ã«ã¿ã«ã (å ¨è§ã«ã¿ã«ã) ãJIS X 0201 ã«ã¿ã«ã (åè§ã«ã¿ã«ã) ã«å¤æãããã¨ãå¯è½ã«ãªã£ããã-gããªãã·ã§ã³ãå©ç¨ããæ¹è¡ã³ã¼ããæ¨æ¸¬ããæ©è½ãå®è£ ããã¦ããã å ¨è§ã«ããåè§ã«ãã«å¤æã§ããnkfã®ææ°çãå ¬éããã
å¹³ç´ ãããPHPããï¼ãããæ顧ããã ããèª ã«ãããã¨ããããã¾ãã 2006å¹´ããéå¶ãã¦ã¾ããã¾ãããPHPããï¼ãã§ããããµã¼ãã¹ã®å©ç¨ç¶æ³ãéã¿ã¾ãã¦ã2018å¹´9æ25æ¥ï¼ç«ææ¥ï¼ããã¡ã¾ãã¦ãµã¼ãã¹ãçµäºããã¦ããã ããã¨ã«ãªãã¾ããã ãµã¼ãã¹çµäºã«ä¼´ãã¾ãã¦ã2018å¹´8æ28æ¥ï¼ç«ææ¥ï¼ãæã¡ã¾ãã¦ãæ°è¦ä¼å¡ç»é²ãªãã³ã«Q&Aæ²ç¤ºæ¿ã¸ã®æ°ããªè³ªåãåçã®æ稿ãåæ¢ããã¦ããã ãã¾ãã ãªãããç»é²ããã ããçæ§ã®å人æ å ±ã«ã¤ãã¾ãã¦ã¯ããµã¼ãã¹çµäºå¾ãå¼ç¤¾ã責任ããã£ã¦æ¶å»ãããã¾ãã ããã¾ã§å¤ãã®çæ§ã«ãå©ç¨ãããã ãã¾ãã¦ãèª ã«ãããã¨ããããã¾ããã ãµã¼ãã¹çµäºã«ä¼´ããçæ§ã«ã¯ãä¸ä¾¿ãããããããã¾ããã¨ãå¿ãããè©«ã³ç³ãä¸ãã¾ãã æ¬ä»¶ã«é¢ãããåãåããã¯ãã¡ããããé¡ããããã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}