$ ruby -n -e 'puts $_ if $_ =~ /\/\//' < hoge.js ã¨ãããã¨ã'//'ã®å ¥ã£ã¦ããè¡ã ãæãåºããããããããªãã¨ãåºæ¥ã... ãã¤ã³ãã¯-eãªãã·ã§ã³ã¨-nãªãã·ã§ã³ãwhile ... end ã«ã¼ãã§æ¨æºå ¥åããã®ï¼è¡ã¥ã¤èªã¿è¾¼ãã§-e '...'ã®ã¹ã¯ãªãããå®è¡ãã¦ãããã ããããã¯ruby --helpã§åç § è¦ãã¦ããã¨ä¾¿å©ãªçµã¿è¾¼ã¿å¤æ°ãã¡ $_ æå¾ã«èªã¿è¾¼ãã å 容 $1..$n ã«ãã³ä»ãã®æ£è¦è¡¨ç¾ãæå®ããã¨ãã«nçªç®ã®ã«ãã³ã«å¯¾å¿ããæåãæãåºã 以ä¸ã®ãã¼ã¸ã«ããããè¼ã£ã¦ããã çµã¿è¾¼ã¿å¤æ° - Rubyãªãã¡ã¬ã³ã¹ããã¥ã¢ã« ã¡ã¢çã«ã¯ã³ã©ã¤ãã¼è²¼ã£ã¦ãã template.jsããfunctionå®ç¾©ã£ã½ãè¡ãæãåºãã¯ã³ã©ã¤ãã¼ ruby -n -e 'puts $_ if $_=~/^\s+\w+:\
{{#tags}}- {{label}}
{{/tags}}