2014-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã¹ãããã£ã¦ãªãæ°ãããããå¤å大ä¸å¤«ãããã¡ã¢ã ãã¡ã¤ã«åã«ã¿ããæ¹è¡ãå«ã¾ããªãåæã find /usr/local -type f -printf '%f\t%p\n' | sort | awk -F$'\t' '{if($1==A){if(A!=B)print X;print};B=A;A=$1;X=$0}' é çªå ¥ãæ¿ããã° uniq ã§åºæ¥ãâ¦
Rubyã®Rangeã¯ã©ã¹ã¨ç¯å²ãªãã¸ã§ã¯ããç¯å²æ¼ç®åãã¤ãã¬ã¼ã¿ã¼ã®ä½¿ãæ¹ (1/3)ï¼è¥æã¨ã³ã¸ãã¢ï¼åå¿è ã®ããã®Ruby 2.1å ¥éï¼4ï¼ - ï¼ IT ã®å 容ééãã«ã¤ãã¦ã å ¥éè¨äºãªãã ããå®è£ å é¨ã®ãã¨ãªã©æ¸ãå¿ è¦ãªãã®ã«ãæ¸ãã¦ééã£ã¦ããã 2ãã¼ã¸ç®â¦